gecko-dev/dom
Nika Layzell f55d088ec3 Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag
This flips the direction in which the BrowserBridge actor is generally created
such that it is generally created in the parent and sent down to a child
process.

This is done by making the decision about what kind of switch to perform in the
parent, and sending messages down to child processes async to orchestrate these
process changes.

Process launching is changed to use an async `MozPromise`-returning API in this
patch, though the actual process launching still occurs synchronously. A future
patch will enable performing async process launching through the
NewOrUsedBrowserProcess mechanism.

I know of at least a few timing issues which exist with the new logic,
especially around the state of the BrowsingContext during the process
transition. I decided to not try to fix all of these issues in this patch, as
many are complex and will require changing how we manage the lifecycle of
BrowsingContext substantially. I do, however, think that the new logic is more
reliable and has fewer timing issues than the previous logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 18:09:03 +00:00
..
abort
animation Bug 1583658 - Re-enable test_restyles.html on GeckoView. r=boris 2019-09-26 21:01:17 +00:00
audiochannel Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
base Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag 2019-10-01 18:09:03 +00:00
battery Backed out changeset f065877ca676 (bug 1441976) for wpt failures at battery-status/battery-interface-idlharness.https.window.html on a CLOSED TREE 2019-09-27 00:24:29 +03:00
bindings Bug 1584431 part 4. Use the new length-aware versions of JS_StringEqualsAscii and JS_FlatStringEqualsAscii where possible. r=jwalden 2019-09-27 21:25:23 +00:00
broadcastchannel
browser-element
cache Backed out 2 changesets (bug 1581067) for xpcshell failures at dom/cache/test/xpcshell/test_empty_directories.js on a CLOSED TREE 2019-09-30 14:35:01 +03:00
canvas Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
chrome-webidl Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag 2019-10-01 18:09:03 +00:00
clients Bug 1578690 - Only create a new promise in EnsureSource if we didn't already have one. r=perry 2019-10-01 07:08:53 +00:00
commandhandler Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
console Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
credentialmanagement
crypto Bug 1583646 - make WebCryptoTask dispatch tasks to our background thread; r=keeler,jcj 2019-09-26 20:47:31 +00:00
debugger
docs Bug 1580907 - Remove transferables attribute for SendAsyncMessage and SendQuery in JSWindowActor; r=nika 2019-09-13 16:51:23 +00:00
encoding Bug 1580014. Don't force methods into the "can throw any exception" bucket just because they always return a new JS object. r=peterv 2019-09-24 08:51:47 +00:00
events Bug 1581285, cancel drags in child processes when the drag gesture is stopped in the parent, r=smaug 2019-10-01 14:07:27 +00:00
fetch Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug 2019-09-20 20:51:25 +00:00
file Bug 1581004 - disabled test_mozfiledataurl.html on fission r=kmag 2019-09-25 17:55:33 +00:00
filehandle
filesystem
flex
gamepad Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
geolocation Backed out changeset 493061169650 (bug 1529591) for build bustages on nsGeolocation.cpp. CLOSED TREE 2019-09-09 17:35:39 +03:00
grid Bug 1581106 part 3 - [css-grid-2] Implement 'repeat(auto-fill, <line-names>)' in subgridded axis. r=emilio 2019-09-30 17:32:52 +00:00
html Bug 1583882 - Fire an event when a <video> being visually cloned is removed from the DOM. r=dminor 2019-09-30 15:49:56 +00:00
imptests
indexedDB Backed out 5 changesets (bug 1168606) for xpcshell failures in dom/indexedDB/test/unit/test_temporary_storage.js on a CLOSED TREE 2019-10-02 02:28:15 +03:00
interfaces Bug 1583932 - Remove aRequestOrigin from nsCSPContext::ShouldLoad r=ckerschb 2019-09-30 10:38:32 +00:00
ipc Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag 2019-10-01 18:09:03 +00:00
jsurl Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden 2019-09-18 08:26:34 +00:00
l10n Bug 1580991 - Trigger DOMLocalization::OnChange from Localization::Observe. r=smaug 2019-09-13 10:08:26 +00:00
locales Bug 1548530 - Remove support for numalign/denomalign/align attributes. r=emilio 2019-09-22 11:25:26 +00:00
localstorage Bug 1583019 - Cleanup PreparedDatastore only if it was added to gPreparedDatastores; r=asuth 2019-09-27 04:18:23 +00:00
manifest
mathml Bug 1579602 - Rename nsMathMLElement to dom::MathMLElement. r=bzbarsky 2019-09-13 16:27:54 +00:00
media Bug 1567201 - Use mdns_service to handle mDNS queries; r=mjf 2019-10-01 12:58:23 +00:00
messagechannel Bug 1553804: Part 6 - Fix chrome mochitests which open chrome windows with content openers. r=nika 2019-09-20 10:18:15 -07:00
midi
network Bug 927610 part 1. Stop using NS_ERROR_TYPE_ERR in UDPSocket. r=smaug 2019-09-24 16:53:44 +00:00
notification Bug 1580782 - Change Callsites to use nsIPrincipal->SchemeIs r=ckerschb 2019-09-26 10:47:16 +00:00
offline
payments Bug 1582196 part 3. Stop using NS_ERROR_RANGE_ERR and NS_ERROR_TYPE_ERR in payments code. r=edenchuang 2019-09-19 23:53:14 +00:00
performance Bug 1578329 - Use profiler_can_accept_markers() where appropriate - r=gregtatum 2019-09-18 01:22:12 +00:00
permission Bug 1582999 - Disable test_cross_origin_iframe.html of fission because of permafailures r=mccr8 2019-09-26 19:10:58 +00:00
plugins Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
power Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
presentation
prio Bug 1582196 part 4. Get rid of NS_ERROR_RANGE_ERR. r=peterv 2019-09-23 19:14:33 +00:00
promise Bug 1575744 - P4. Add MozPromise::FromDomPromise. r=bholley 2019-09-20 04:09:46 +00:00
prototype Bug 1575620 - Fix refreshing session restore when using prototype cache. r=smaug 2019-09-06 20:27:09 +00:00
push Bug 1575185 - Skip test_permissions.html on fission; r=mccr8 2019-09-30 22:40:35 +00:00
quota Bug 1561611 - Removing the code for collecting unexpected filenames in origin directories; r=chutten,janv 2019-09-27 17:16:08 +00:00
reporting Bug 1583684 - Fix some rooting hazards in DOM bindings r=bzbarsky 2019-09-26 23:50:14 +00:00
res
script Bug 1580782 - Change Callsites to use nsIPrincipal->SchemeIs r=ckerschb 2019-09-26 10:47:16 +00:00
security Backed out changeset 7978f68a5355 (bug 1585055) for multiple mochitest-plain-chunked failures. on a CLOSED TREE 2019-10-02 02:26:13 +03:00
serviceworkers Bug 1584471 - Skip test_sanitize_domain.html on fission; r=mccr8 2019-09-30 22:40:35 +00:00
simpledb
smil Bug 1574222 - Serialize getComputedStyle on text-decoration properly. r=emilio,dholbert 2019-09-10 21:52:26 +00:00
storage Bug 1582196 part 4. Get rid of NS_ERROR_RANGE_ERR. r=peterv 2019-09-23 19:14:33 +00:00
svg Bug 1578098 - move DOM classes to DOM namespace and eliminate using namespace mozilla r=dholbert 2019-09-21 14:38:56 +00:00
system Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
tests Bug 1584967 - Delete fail-if annotation for browser_disableAppcache.js on fission cause now it passes. r=jkt 2019-09-30 14:12:54 +00:00
u2f
url
vr Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug 2019-09-20 20:51:25 +00:00
webauthn Bug 1573245 - Change AuthenticatorTransport to be string, not `enum` r=bzbarsky,keeler 2019-09-17 07:50:44 +00:00
webbrowserpersist
webgpu
webidl Bug 1583882 - Remove vestigial TogglePictureInPicture privileged method on HTMLVideoElement. r=webidl,dminor,smaug* 2019-09-30 15:34:43 +00:00
websocket Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
workers Bug 1579835, part 5 - Fix remote type matching in SelectTargetActorForServiceWorker. r=asuth 2019-09-25 22:40:49 +00:00
worklet Bug 1578623 use an opaque origin for WorkletGlobalScope r=baku 2019-09-09 00:42:01 +00:00
xbl Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
xhr Bug 1546185 - Also check mEventDispatchingSuspended to see if we are in sync event loop r=baku 2019-10-01 11:31:43 +00:00
xml Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
xslt Bug 1578173 part 6. Remove remaining uses of [Constructor] from bindings. r=edgar 2019-09-12 11:01:17 +00:00
xul Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
jar.mn
moz.build