gecko-dev/js/xpconnect/idl
Jan de Mooij bd8f77645e Bug 1480121 - Remove the global stored in nsXPCWrappedJS. r=bzbarsky
Reasons for doing this:

* nsXPCWrappedJS has complicated GC behavior and we're seeing some oranges in this area.

* Due to the GC/CC complexity, the global stored in nsXPCWrappedJS *must be* the
  object's global in the root-wrapper (implies non-CCW) case. If we do that, the
  global is redundant because we can just get it from the object when we need it.

* For the CCW case, it probably doesn't matter too much which chrome global we
  use so we can use the compartment's first global - we now have an API for that.
  This may also save some memory because it avoids keeping globals alive unnecessarily
  and matches what we do for WrappedNatives and CCWs now. Furthermore, bug 1478359
  comment 12 suggests CCWs can only show up here for in-content XBL and that's in the
  process of being removed.

Differential Revision: https://phabricator.services.mozilla.com/D15096

--HG--
extra : moz-landing-system : lando
2018-12-20 19:13:43 +00:00
..
moz.build Bug 1477432 - Part 9: Switch to using plain JS objects for nsIJS[IC]ID, r=mccr8 2018-11-16 17:27:44 -05:00
mozIJSSubScriptLoader.idl Bug 1492937 - Make the JS subscript loader load scripts exclusively as UTF-8, with no way to specify any other encoding, and adjust a bunch of existing tests to use UTF-8 directly, rather than Unicode escape sequences or similar. (This also changes the encoding of .sjs scripts and all mochitest-browser tests in the tree from Latin-1 to UTF-8.) r=yzen, r=MattN, r=jimb, r=kmag 2018-12-19 13:46:20 -08:00
nsIXPCScriptable.idl Bug 1501910 - Pass enumerableOnly into nsIXPCScriptable::NewEnumerate, r=bzbarsky 2018-10-25 10:24:36 -04:00
nsIXPConnect.idl Bug 1480121 - Remove the global stored in nsXPCWrappedJS. r=bzbarsky 2018-12-20 19:13:43 +00:00
xpcIJSGetFactory.idl
xpcIJSWeakReference.idl Bug 1490503 - Mark more XPConnect classes builtinclass r=peterv 2018-09-14 17:52:36 +00:00
xpccomponents.idl Bug 1512655 part 2 - Assert Cu.setWantXrays is never called on system-principal scopes. r=kmag 2018-12-18 18:42:28 +00:00