gecko-dev/dom/bindings
Kris Maglione f37317cad0 Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz
We don't have access to an appropriate context to create the dead wrapper in
when the callback is nuked, so instead, this patch creates a new dead wrapper
in the caller compartment each time the property is accessed. This is the same
behavior we'd get when trying to re-wrap a cross-compartment dead wrapper, so
it's consistent with the way we handle these situations elsewhere.

MozReview-Commit-ID: 3cMeR4z8EOe

--HG--
extra : rebase_source : 7e8cf4a195ef64deb7677ce4ac9818d342815667
2017-09-04 17:21:06 -07:00
..
crashtests Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
docs
mozwebidlcodegen
parser Bug 1400139 part 1. Add infrastructure for marking WebIDL interface members as non-enumerable. r=qdot 2017-09-18 21:24:37 -04:00
test Bug 1400139 part 1. Add infrastructure for marking WebIDL interface members as non-enumerable. r=qdot 2017-09-18 21:24:37 -04:00
AtomList.h
BindingDeclarations.h Bug 1335368 part 6. Add a SystemCallerGuarantee class that we use for [ChromeOnly, NeedsCallerType] cases. r=bholley 2017-02-01 15:43:36 -05:00
BindingUtils.cpp Bug 1395828 (part 4) - Remove nsIParserService/nsParserService. r=mrbkap. 2017-09-05 20:19:06 +10:00
BindingUtils.h Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz 2017-09-04 17:21:06 -07:00
Bindings.conf Bug 1396856: Part 3 - Add a WebIDL wrapper class for necko channels. r=ehsan,mixedpuppy 2017-09-06 14:38:23 -07:00
CallbackFunction.h Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv 2016-11-14 21:25:37 -08:00
CallbackInterface.cpp
CallbackInterface.h Bug 1326105 part 5. Move the getting of the incumbent global to the finish-slow-js codepath too, since it's not needed if no one will ever call our callback. r=smaug 2016-12-29 13:19:26 -08:00
CallbackObject.cpp Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz 2017-09-04 17:21:06 -07:00
CallbackObject.h Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz 2017-09-04 17:21:06 -07:00
Codegen.py Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz 2017-09-04 17:21:06 -07:00
Configuration.py Bug 1279218 - Remove Applet tag; r=bz 2017-07-10 16:00:30 -07:00
DOMJSClass.h Bug 1348099 part 1 - Binary search property id when resolve DOM Xrays own property. r=bz 2017-06-12 12:13:38 +08:00
DOMJSProxyHandler.cpp Bug 1393790 part 2 - Remove JS_PropertyStub and JS_StrictPropertyStub. r=jorendorff 2017-08-28 10:40:19 +02:00
DOMJSProxyHandler.h Bug 1189822 part 5. Remove the now-unnecessary DOMProxyHandler::ClearExternalRefsForWrapperRelease function. r=peterv 2017-05-17 00:52:53 -04:00
DOMString.h Bug 1330759 part 3. Add a "stringbuffer we own" mode to DOMString. r=froydnj 2017-01-18 22:20:14 -05:00
Date.cpp
Date.h
ErrorIPCUtils.h
ErrorResult.h Bug 1338272 - Require that the return value of MaybeSetPendingException is used. r=bz 2017-02-14 16:17:02 -08:00
Errors.msg Bug 1388661 - Support currency validation in PaymentRequet API. r=baku 2017-09-06 14:36:24 +08:00
Exceptions.cpp Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8 2017-08-03 15:50:07 +09:00
Exceptions.h Bug 1331977 - CreateException doesn't use JSContext argument, r=qdot 2017-01-19 09:03:03 +01:00
FakeString.h Bug 1343715 - Split nsTSubstring::mFlags into separate variables for class and data flags. r=dmajor 2017-07-10 12:23:10 -07:00
GenerateCSS2PropertiesWebIDL.py
IterableIterator.cpp
IterableIterator.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
JSSlots.h
Makefile.in Bug 1378965 - silently include codegen.pp for DOM bindings; r=chmanchester 2017-07-25 11:17:32 -04:00
NonRefcountedDOMObject.h
Nullable.h Bug 1331495 - Add an operator<< overload for Nullable. r=Ehsan 2017-01-16 16:55:29 -05:00
PrimitiveConversions.h
ReadableStream.h Bug 1128959 - Implement the WHATWG Streams spec - part 1 - WebIDL Bindings, r=bz 2017-08-10 18:04:54 -07:00
Record.h Bug 1330699 part 13. Implement the spec provision for handling repeated keys in records by updating the existing value. r=qdot 2017-02-15 00:01:41 -05:00
RootedDictionary.h
RootedOwningNonNull.h Bug 1325406 - Refactor rooting base class templates r=sfink r=mccr8 2017-01-10 10:12:14 +00:00
RootedRefPtr.h Bug 1325406 - Refactor rooting base class templates r=sfink r=mccr8 2017-01-10 10:12:14 +00:00
SimpleGlobalObject.cpp Bug 1396613 - Update the object moved hook to allow it to be called when tenuring nursery objects r=sfink r=mccr8 2017-09-19 12:31:30 +01:00
SimpleGlobalObject.h Bug 1352430 - Add barrier to wrapper cache to clear dying objects that have not yet been finalized r=bz r=sfink 2017-04-26 11:18:39 +01:00
SpiderMonkeyInterface.h Bug 1128959 - Implement the WHATWG Streams spec - part 1 - WebIDL Bindings, r=bz 2017-08-10 18:04:54 -07:00
StructuredClone.cpp
StructuredClone.h
ToJSValue.cpp Bug 1338272 - Require that the return value of MaybeSetPendingException is used. r=bz 2017-02-14 16:17:02 -08:00
ToJSValue.h Bug 1369533: Return dead wrappers rather than null for dead CallbackObject values. r=bz 2017-09-04 17:21:06 -07:00
TypedArray.h Bug 1384513 - Change all public APIs to take JS::AutoRequireNoGC instead of JS::AutoCheckCannotGC. r=jonco 2017-07-26 12:20:59 +02:00
UnionMember.h Bug 1339652 - Delete UnionMember's copy constructor, because it can't safely be used in the C++ object model. r=bz 2017-02-14 11:23:40 -08:00
WebIDLGlobalNameHash.cpp Bug 1371259 part 3. Change UnwrapObject<> and the UNWRAP_OBJECT macro to allow passing in mutable object or value handles for the thing being unwrapped, and do so at various callsites. r=peterv 2017-07-10 16:05:24 -04:00
WebIDLGlobalNameHash.h Bug 1364816 part 5. Make getting window names a bit faster by avoiding various intermediate strings. r=qdot,jandem 2017-06-06 21:21:45 -04:00
XrayExpandoClass.h
mach_commands.py Bug 1335796 - Move WebIDL parser tests out of 'make check'; r=dustin,Ms2ger 2017-01-31 19:08:50 -05:00
moz.build Bug 1128959 - Implement the WHATWG Streams spec - part 1 - WebIDL Bindings, r=bz 2017-08-10 18:04:54 -07:00
nsIScriptError.idl Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin 2017-08-07 15:56:30 +02:00
nsScriptError.cpp Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin 2017-08-07 15:56:30 +02:00
nsScriptError.h Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin 2017-08-07 15:56:30 +02:00
nsScriptErrorWithStack.cpp Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz 2017-01-28 00:42:47 +09:00