mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-16 15:17:14 +00:00
fur
1bb1ec2907
If the same JSObject is reflected into Java more than once then we should
return the same Java object, both for efficiency and so that the '==' operator works as expected in Java when comparing two JSObjects. However, it is not possible to hold a reference to a Java object without inhibiting GC of that object, at least not in a way that is portable to all vendor's JVMs, i.e. a weak reference. So, for now, JSObject identity is broken.
Description
Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Languages
JavaScript
32.7%
C++
25.4%
HTML
20.9%
C
10.8%
Python
2.8%
Other
6.9%