gecko-dev/dom/bindings
Andrew McCreight ac69d4bf7b Bug 1510760, part 4 - Add transplant support to GetRemoteOuterWindowProxy(). r=peterv
When we call GetRemoteOuterWindowProxy in the middle of a transplant,
the remote proxy that the function returns will be almost immediately
swapped with some other object. Rather than trying to fix up the
remote proxy map when that happens, this patch adds a new argument
that is a pointer to the object, if any, that the remote proxy is
going to be swapped to. This will be used in the remote proxy map.

Having a value in the remote proxy map that is not a remote proxy
could cause issues if somebody ends up calling
GetRemoteOuterWindowProxy() a second time before the transplant has
finished. To avoid that, my patch asserts that we are returning an
object with the appropriate class.

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

--HG--
extra : moz-landing-system : lando
2019-07-18 19:36:17 +00:00
..
crashtests
docs
mozwebidlcodegen Bug 1350254 part 1. Add support for [Serializable] in the Web IDL parser and code generator. r=baku,mccr8 2019-06-27 22:21:22 +00:00
parser Bug 1563937: Support Python 3 in WebIDL.py r=firefox-build-system-reviewers,bzbarsky,mshal 2019-07-10 02:36:57 +00:00
test Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8 2019-07-15 16:19:32 -07:00
AtomList.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
BindingDeclarations.h Bug 1515582. Remove the separate XBL scope setup. r=bholley 2019-02-11 21:51:47 +00:00
Bindings.conf Bug 1560342 - Replace generic object argument with a specific L10nArgs object for passing l10n arguments. r=smaug 2019-06-25 19:43:50 +00:00
BindingUtils.cpp Bug 1366738: Implement [LegacyWindowAlias] r=bzbarsky 2019-07-03 08:37:01 +00:00
BindingUtils.h Bug 1289211 - Rename InfallibleTArray to nsTArray in dom/bindings/ r=Ehsan 2019-07-10 03:25:38 +00:00
CallbackFunction.h Bug 1561887 part 2. Fix cycle-collection skipping of JSEventHandler to work correctly. r=smaug 2019-07-09 17:04:59 +00:00
CallbackInterface.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CallbackInterface.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CallbackObject.cpp Bug 1515214 - Add CallbackObject::GetDescription and TimeoutHandler::GetDescription. r=bzbarsky 2019-07-10 20:48:14 +00:00
CallbackObject.h Bug 1515214 - Add CallbackObject::GetDescription and TimeoutHandler::GetDescription. r=bzbarsky 2019-07-10 20:48:14 +00:00
Codegen.py Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv 2019-07-03 07:52:35 +00:00
Configuration.py Bug 1350254 part 1. Add support for [Serializable] in the Web IDL parser and code generator. r=baku,mccr8 2019-06-27 22:21:22 +00:00
Date.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Date.h Bug 1521907 part 3. Start using CheckedUnwrapStatic/Dynamic in bindings. r=peterv 2019-02-02 03:23:49 +00:00
DOMJSClass.h Bug 1350254 part 1. Add support for [Serializable] in the Web IDL parser and code generator. r=baku,mccr8 2019-06-27 22:21:22 +00:00
DOMJSProxyHandler.cpp Bug 1510760, part 2 - Add the remote proxy handler to SetDOMProxyInformation. r=peterv,tcampbell 2019-07-18 19:36:13 +00:00
DOMJSProxyHandler.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-12 13:14:25 +00:00
DOMString.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ErrorIPCUtils.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
ErrorResult.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
Errors.msg Bug 1560462: Implement DOMMatrix.fromMatrix r=bzbarsky 2019-06-30 03:02:13 +00:00
Exceptions.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
Exceptions.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FakeString.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
GenerateCSS2PropertiesWebIDL.py Bug 1359269 - Part 10: Make it a hard error to apply TreatNullAs on non-types; r=bzbarsky 2019-03-02 04:22:05 +00:00
IterableIterator.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
IterableIterator.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
JSSlots.h
mach_commands.py
Makefile.in Bug 1556185 - Ensure autoconf.mk is tracked as a dependency when preprocessing webidls. r=nalexander 2019-06-03 20:33:36 +00:00
moz.build Bug 1350254 part 2. Switch ImageData to [Serializable]. r=baku 2019-06-25 06:44:38 +00:00
NonRefcountedDOMObject.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsIScriptError.idl Bug 1546306 - Add an optional aFromChromeContext parameter to nsIScriptError::InitWithWindowID for the case the passed in windowId is zero. r=baku 2019-06-13 09:50:49 +00:00
nsScriptError.cpp Bug 1546306 - Add an optional aFromChromeContext parameter to nsIScriptError::InitWithWindowID for the case the passed in windowId is zero. r=baku 2019-06-13 09:50:49 +00:00
nsScriptError.h Bug 1546306 - Add an optional aFromChromeContext parameter to nsIScriptError::InitWithWindowID for the case the passed in windowId is zero. r=baku 2019-06-13 09:50:49 +00:00
nsScriptErrorWithStack.cpp 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
Nullable.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PrimitiveConversions.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ReadableStream.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Record.h Bug 1534593 part 3. Initialize JSObject* entries in Record types. r=qdot 2019-04-16 19:18:52 +00:00
RemoteObjectProxy.cpp Bug 1510760, part 4 - Add transplant support to GetRemoteOuterWindowProxy(). r=peterv 2019-07-18 19:36:17 +00:00
RemoteObjectProxy.h Bug 1510760, part 4 - Add transplant support to GetRemoteOuterWindowProxy(). r=peterv 2019-07-18 19:36:17 +00:00
RootedDictionary.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
RootedOwningNonNull.h Bug 1547782 - Implement GCPolicy<T>::isValid for Gecko specializations r=jonco 2019-04-30 21:48:32 +00:00
RootedRefPtr.h Bug 1547782 - Implement GCPolicy<T>::isValid for Gecko specializations r=jonco 2019-04-30 21:48:32 +00:00
SimpleGlobalObject.cpp Bug 1513108 - Remove the separate class extension hook for getting a weakmap key delegate, r=jonco 2018-12-07 14:38:01 -08:00
SimpleGlobalObject.h Bug 1547923 part 3. Add nsIGlobalObject::GetGlobalJSObjectPreserveColor(). r=mccr8 2019-05-02 21:23:35 +00:00
SpiderMonkeyInterface.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ToJSValue.cpp Bug 1510760, part 4 - Add transplant support to GetRemoteOuterWindowProxy(). r=peterv 2019-07-18 19:36:17 +00:00
ToJSValue.h Bug 1521732 - Part 3: Use RootedValueVector instead. r=sfink,jonco 2019-03-26 13:58:20 +00:00
TypedArray.h Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink 2019-03-04 15:19:16 -08:00
UnionMember.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
WebIDLGlobalNameHash.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-12 13:14:25 +00:00
WebIDLGlobalNameHash.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-04-12 13:14:25 +00:00
XrayExpandoClass.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00