gecko-dev/js/xpconnect
Jan de Mooij b8a316aca4 Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag
For *incoming* wrappers this preserves behavior. We nuke *outgoing* wrappers
when all realms in the compartment have been nuked. To implement this I moved
the wasNuked flag from XPConnect to JS::Compartment as nukedOutgoingWrappers and
to JS::Realm as nukedIncomingWrappers.

The code to create a dead wrapper in the nuked compartment/realm case was also
moved into the JS engine. I added a shell test for it.

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

--HG--
extra : moz-landing-system : lando
2018-12-12 08:02:30 +00:00
..
crashtests Bug 1476142 part 4. Remove some unnecessary QIs on window in various parts of the tree. r=kmag 2018-08-02 15:26:48 -04:00
idl Bug 1492937 - Make mozIJSSubScriptLoader.loadSubScriptWithOptions interpret script data only as UTF-8, without any way to use another charset. r=kmag 2018-12-08 18:14:27 -05:00
loader Bug 1492937 - Make mozIJSSubScriptLoader.loadSubScriptWithOptions interpret script data only as UTF-8, without any way to use another charset. r=kmag 2018-12-08 18:14:27 -05:00
public Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
shell Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
src Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag 2018-12-12 08:02:30 +00:00
tests Bug 1492937 - Make mozIJSSubScriptLoader.loadSubScriptWithOptions interpret script data only as UTF-8, without any way to use another charset. r=kmag 2018-12-08 18:14:27 -05:00
wrappers Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag 2018-12-12 08:02:30 +00:00
moz.build