gecko-dev/dom
Nika Layzell 274d7e3edd Bug 1699721 - Part 2: Track BrowserParent lifecycles during process switches, r=kmag
This patch contains a large number of changes around the process switching
mechanism in order to avoid issues which are caused by a mismatched
understanding of the state of the process switch between processes in the
presence of nested event loops.

This includes:
 1. The "InFlightProcessId" value is no longer recorded. All remaining uses
    were removed in part 1, and the new mechanism tracks this information in
    a better way.
 2. The current BrowserParent instance is now tracked on
    CanonicalBrowsingContext, meaning that logic which needs to work with this
    information can now access it without depending on the current
    WindowGlobalParent instance.
 3. When doing a process switch, the previous host process for the
    BrowsingContext is tracked until the process switch is completed, allowing
    for future attempts to switch into that process to be delayed until the
    previous unload event has finished running.
 4. The process switch logic was refactored to simplify some of the
    error-handling logic, and share more code between different cases.

Differential Revision: https://phabricator.services.mozilla.com/D110002
2021-03-31 16:51:58 +00:00
..
abort Bug 1698468 - Add AbortSignal.abort() r=smaug 2021-03-15 20:46:53 +00:00
animation Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
audiochannel Bug 1702033 - Remove some dead audio volume-related code in nsPIDOMWindow. r=alwu 2021-03-30 19:38:02 +00:00
base Bug 1699721 - Part 2: Track BrowserParent lifecycles during process switches, r=kmag 2021-03-31 16:51:58 +00:00
battery
bindings Bug 1700463 - Add headers for union submembers. r=edgar 2021-03-30 19:10:25 +00:00
broadcastchannel Backed out changeset f77ab0956d89 (bug 1692639) for causing failures on test_bfcache.html. CLOSED TREE 2021-03-27 02:38:28 +02:00
browser-element Bug 1678330: Ensure nested SpinEventLoopUntil(OrShutdown) calls are traceable to the originating source in case of crash. r=nika,extension-reviewers 2021-03-02 22:11:58 +00:00
cache Bug 1686191 - Have a way to specifically report warnings around QM_TRY; r=asuth,sg,dom-storage-reviewers 2021-03-24 12:27:53 +00:00
canvas Bug 1701760. Request sRGB images when drawing an image in Canvas. r=aosmond 2021-03-31 13:33:07 +00:00
chrome-webidl Bug 1572084 - Part 2: Make Session Store data collection work with fission. r=nika 2021-03-26 08:59:33 +00:00
clients Bug 1697927 - Part 1: Only expose HadOriginalOpener on BrowsingContext, r=farre 2021-03-18 16:15:17 +00:00
commandhandler Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
console Bug 1634281 - Use nsTHashMap instead of nsDataHashtable. r=xpcom-reviewers,necko-reviewers,jgilbert,nika,valentin 2021-03-10 10:47:47 +00:00
credentialmanagement
crypto Bug 1360715 - Part 2: Modify instanceofs in tests to non-cross-context r=edgar 2021-03-04 22:03:57 +00:00
debugger
docs
encoding
events Bug 1701824 - Hide ondevicelight behind a flag r=smaug 2021-03-30 20:44:47 +00:00
fetch Bug 1695050 - Part 11: Update the call-sites of CookieJarSettings::Create() for Fetch and XHR. r=smaug 2021-03-29 11:01:54 +00:00
file Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
filehandle Bug 708901 - Migrate to nsTHashSet in dom/filehandle. r=dom-storage-reviewers,janv 2021-03-23 10:36:33 +00:00
filesystem Bug 708901 - Migrate to nsTHashSet in dom/filesystem. r=baku 2021-03-23 10:36:33 +00:00
flex
gamepad Bug 1700595 - Unbreak dom/gamepad/fallback/FallbackGamepad.cpp after Bug 1610570 r=tjr 2021-03-25 19:17:49 +00:00
geolocation
grid Bug 708901 - Migrate to nsTHashSet in dom/grid. r=mats 2021-03-24 17:56:48 +00:00
html Backed out changeset fe753b00f953 (bug 1701276) for wpt fails on resource-selection-currentSrc.html. CLOSED TREE 2021-03-31 21:00:20 +03:00
imptests
indexedDB Bug 1701346 - IDB: Revert QM_OR_ELSE_WARN to ordinary orElse in QuotaClient::GetUsageForOriginInternal; r=asuth,dom-storage-reviewers,jstutte 2021-03-27 13:08:07 +00:00
interfaces Bug 1699259 - Add a ChromeOnly FocusOptions.preventFocusRing to opt out of focus ring heuristics. r=edgar,Gijs 2021-03-20 14:49:01 +00:00
ipc Bug 1699721 - Part 2: Track BrowserParent lifecycles during process switches, r=kmag 2021-03-31 16:51:58 +00:00
jsurl Bug 1691889 - Replace MOZ_MUST_USE with [[nodiscard]] in dom/. r=peterv 2021-03-10 08:19:25 +00:00
l10n Bug 1701621: Remove property Ci.nsIAboutModule.URI_CONTENT_LINKABLE from test browser_resource_uri.js r=Standard8 2021-03-29 13:12:51 +00:00
locales Bug 1536094 - Support dynamic import from content scripts (sandboxed code) r=smaug,jonco 2021-03-23 11:15:11 +00:00
localstorage Bug 1701346 - LSNG: Revert QM_OR_ELSE_WARN to ordinary orElse in ExistsAsFile; r=asuth,dom-storage-reviewers,jstutte 2021-03-27 13:08:07 +00:00
manifest Bug 1697089 - Web manifest: Remove query & fragment components from scope URL r=saschanaz,annevk 2021-03-18 17:36:02 +00:00
mathml
media Bug 1694828 - [ci] mochitest-media: Enable windows10 debug with fission, r=jmaher 2021-03-30 20:02:10 +00:00
messagechannel Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
midi
network Bug 1696776 - Expose socket transport in TCPSocket. r=valentin 2021-03-07 16:22:11 +00:00
notification
offline
payments Bug 1646556 - Make PaymentRequest APIs be fission compatible. r=nika 2021-03-25 12:57:13 +00:00
performance Bug 1693327 - Assert the global is dying when EventCounts fails to set values r=smaug 2021-03-22 23:22:23 +00:00
permission
plugins Bug 1679522 - Use <> style for including windows system headers. r=andi 2021-03-25 10:19:44 +00:00
power Bug 1634281 - Remove unused nsDataHashtable.h includes. r=xpcom-reviewers,nika 2021-03-03 08:58:52 +00:00
prio
promise Bug 1581859: Part 5 - Add js/Value.h include to PromiseNativeHandler.h. r=nika 2021-03-25 19:47:04 +00:00
prototype Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8 2021-03-05 15:29:49 +00:00
push Backed out changeset 065644a4b755 (bug 1649604) for causing failure on test_update_theme.js 2021-03-23 20:20:53 +02:00
quota Bug 1701346 - QM: Revert QM_OR_ELSE_WARN to ordinary orElse in EnsureDirectory; r=jstutte 2021-03-26 22:55:18 +00:00
reporting Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika 2021-02-26 09:11:46 +00:00
res
script Bug 1700954 - Remove remaining BinAST fragments from ScriptLoader. r=arai,hsivonen,necko-reviewers 2021-03-26 13:01:40 +00:00
security Bug 1694932 - Https-only mode reloads the page in certain cases when there should be just a fragment navigation r=ckerschb,smaug 2021-03-29 12:56:33 +00:00
serializers Bug 1691889 - Replace MOZ_MUST_USE with [[nodiscard]] in dom/. r=peterv 2021-03-10 08:19:25 +00:00
serviceworkers Bug 1695050 - Part 4: Update the call-sites of CookieJarSettings::Create() for ServiceWorker and Worker. r=asuth 2021-03-29 11:01:52 +00:00
simpledb Bug 1697115 - Rationalize QuotaManager::DecreaseUsageForClient arguments; r=dom-storage-reviewers,sg 2021-03-17 06:56:39 +00:00
smil Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
storage Bug 1184468 - Use nsTHashtable::Keys where possible. r=xpcom-reviewers,nika 2021-03-24 17:56:50 +00:00
svg Bug 1700889 - remove xmlspace attribute from SVGStyleElement r=emilio 2021-03-25 17:15:43 +00:00
system Bug 1701789 - Restore UserProximityEvent r=smaug 2021-03-30 20:44:47 +00:00
tests Bug 1701954 - let interfaces test expect to find PerformanceEventTiming and EventCounts on all channels. r=smaug DONTBUILD 2021-03-30 15:49:41 +00:00
u2f
url Bug 1673931 - Avoid including BindingDeclarations.h from header files. r=nika 2021-03-04 14:32:14 +00:00
vr
webauthn Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
webbrowserpersist Bug 1695050 - Part 8: Update the call-site of CookieJarSettings::Create() for WebBrowserPersist. r=smaug 2021-03-29 11:01:53 +00:00
webgpu Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
webidl Bug 1701824 - Hide ondevicelight behind a flag r=smaug 2021-03-30 20:44:47 +00:00
webshare
websocket Bug 1696024 - py3 updates to dom/websocket mochitests; r=ahal 2021-03-08 15:36:32 +00:00
workers Bug 1701726 - Doc improvements for Remote and Shared workers. r=dom-workers-and-storage-reviewers,ttung 2021-03-29 17:25:53 +00:00
worklet Bug 1676361 - Move AutoEntryScript to a separate header file to avoid pulling in GeckoProfiler.h everywhere. r=mccr8 2021-03-05 15:29:49 +00:00
xhr Bug 1695050 - Part 11: Update the call-sites of CookieJarSettings::Create() for Fetch and XHR. r=smaug 2021-03-29 11:01:54 +00:00
xml Bug 1696507 - Remove support for NO_UNLINK version of cycle collector macros. r=smaug 2021-03-10 19:50:40 +00:00
xslt Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
xul Bug 1700371: Override the NSWindow appearance based on the lightweight theme. r=mac-reviewers,mstange 2021-03-31 16:38:10 +00:00
jar.mn
moz.build Bug 1697680 - Remove Presentation API implementation r=smaug,agi 2021-03-16 18:21:12 +00:00