gecko-dev/dom/bindings
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
docs
mozwebidlcodegen
parser
test
AtomList.h
BindingDeclarations.h
Bindings.conf
BindingUtils.cpp Bug 1511401 part 4. Use CallArgs::requireAtLeast in the DOM. r=nbp,qdot 2018-12-10 14:13:06 -05:00
BindingUtils.h
CallbackFunction.h
CallbackInterface.cpp
CallbackInterface.h
CallbackObject.cpp Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag 2018-12-12 08:02:30 +00:00
CallbackObject.h Bug 1512260 - Make wrapper nuking work with a target realm instead of target compartment. r=kmag 2018-12-12 08:02:30 +00:00
Codegen.py Bug 1511401 part 4. Use CallArgs::requireAtLeast in the DOM. r=nbp,qdot 2018-12-10 14:13:06 -05:00
Configuration.py
Date.cpp
Date.h
DOMJSClass.h
DOMJSProxyHandler.cpp
DOMJSProxyHandler.h
DOMString.h
ErrorIPCUtils.h
ErrorResult.h
Errors.msg Bug 1511401 part 4. Use CallArgs::requireAtLeast in the DOM. r=nbp,qdot 2018-12-10 14:13:06 -05:00
Exceptions.cpp
Exceptions.h
FakeString.h
GenerateCSS2PropertiesWebIDL.py
IterableIterator.cpp
IterableIterator.h
JSSlots.h
mach_commands.py
Makefile.in
moz.build
NonRefcountedDOMObject.h
nsIScriptError.idl
nsScriptError.cpp
nsScriptError.h
nsScriptErrorWithStack.cpp
Nullable.h
PrimitiveConversions.h
ReadableStream.h
Record.h
RootedDictionary.h
RootedOwningNonNull.h
RootedRefPtr.h
SimpleGlobalObject.cpp
SimpleGlobalObject.h
SpiderMonkeyInterface.h
StructuredClone.cpp
StructuredClone.h
ToJSValue.cpp
ToJSValue.h
TypedArray.h
UnionMember.h
WebIDLGlobalNameHash.cpp
WebIDLGlobalNameHash.h
XrayExpandoClass.h