gecko-dev/dom
Nika Layzell 58c1037005 Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag
This is a large refactoring of the DocumentChannel process switch codepath,
with the end goal of being better able to support future process switch
requirements such as dynamic isolation on android, as well as the immediate
requirement of null principal handling.

The major changes include:
1. The logic is in C++ and has less failure cases, meaning it should be harder
   for us to error out unexpectedly and not process switch.
2. Process selection decisions are more explicit, and tend to rely less on
   state such as the current remoteType when possible. This makes reasoning
   about where a specific load will complete easier.
3. Additional checks are made after a "WebContent" behavior is selected to
   ensure that if an existing document in the same BCG is found, the load will
   finish in the required content process. This should make dynamic checks such
   as Android's logged-in site isolation easier to implement.
4. ProcessIsolation logging is split out from DocumentChannel so that it's
   easier to log just the information related to process selection when
   debugging.
5. Null result principal precursors are considered when performing process
   selection.

Other uses of E10SUtils for process selection have not yet been migrated to the
new design as they have slightly different requirements. This will be done in
follow-up bugs.

Differential Revision: https://phabricator.services.mozilla.com/D120673
2021-08-06 00:10:57 +00:00
..
abort
animation Bug 1723050 - Part 1: Replace typedef by using in dom/animation/ r=hiro 2021-08-05 02:25:23 +00:00
audiochannel
base Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-06 00:10:57 +00:00
battery
bindings Bug 1613705 - [localization] part2: Switch Localization class to use localization-ffi. r=emilio,nika 2021-08-03 16:25:10 +00:00
broadcastchannel Bug 1723050 - Part 4: Replace typedef by using in dom/broadcastchannel/ r=smaug 2021-08-05 12:18:13 +00:00
browser-element
cache Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
canvas Backed out 2 changesets (bug 1720965) for causing bustages on nsContentUtils.cpp. CLOSED TREE 2021-08-04 03:14:29 +03:00
chrome-webidl Bug 1613705 - [localization] part3: Introduce passing Registry to Localization to replace BundleGenerator argument. r=emilio,nika 2021-08-03 16:25:11 +00:00
clients
commandhandler
console
credentialmanagement Bug 1718296 - Part 1: Disable failing mochitest-plain tests on Windows 10 2004 r=jmaher 2021-07-29 18:30:37 +00:00
crypto
debugger
docs Bug 1722754 - Fix up links and formating. r=mccr8 2021-07-29 15:22:45 +00:00
encoding
events Bug 1635018 - Part 1: Limit dragexit event to chrome on Nightly r=edgar,masayuki 2021-08-05 14:33:38 +00:00
fetch Bug 1723723 - stop using getURLSpecFromFile from JS code to avoid mainthread IO, r=florian 2021-08-03 18:32:50 +00:00
file Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
filehandle
filesystem Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
flex
gamepad Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
geolocation Bug 1715482 - Geolocation should gracefully handle Documents that are not fully active r=saschanaz 2021-08-03 00:16:45 +00:00
grid
html Bug 1724043 - Port dialog cancel event tests to WPT. r=sefeng 2021-08-05 07:45:16 +00:00
imptests
indexedDB Bug 1711657 - Rename Note to Info in Severity enum and QM_TRY macros. r=dom-storage-reviewers,janv 2021-08-04 09:39:55 +00:00
interfaces Bug 1719183 - part2 : expose the suspended state of window to chrome window for testing. r=nika 2021-08-03 21:32:26 +00:00
ipc Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-06 00:10:57 +00:00
jsurl
l10n Bug 1613705 - [localization] part18: Fix AuditParsingOfHTMLXMLFragments to work without JS context. r=emilio 2021-08-03 16:25:17 +00:00
locales
localstorage Bug 1718197 - Have a way to set QM_TRY context in ExecuteInitialization; r=dom-storage-reviewers,asuth 2021-07-31 16:32:14 +00:00
manifest Bug 1723088: Update tests within dom/manifest to work with https-first enabled r=baku 2021-07-30 14:05:44 +00:00
mathml
media Bug 1634741 - AVIF (AV1 Image File Format): proper color space support. r=aosmond 2021-08-05 15:47:59 +00:00
messagechannel
midi
network
notification
offline
payments
performance
permission
plugins Bug 1722653 - Remove MOZ_CAIRO_CFLAGS. r=firefox-build-system-reviewers,jgilbert,andi 2021-07-29 23:38:31 +00:00
power
prio
promise
prototype
push Bug 1649604, remove OS.File usage from JSONFile.jsm r=Gijs,robwu 2021-08-03 15:14:18 +00:00
quota Bug 1711657 - Rename Note to Info in Severity enum and QM_TRY macros. r=dom-storage-reviewers,janv 2021-08-04 09:39:55 +00:00
reporting
res
script
security Bug 1722703: Consider requests from extension with access to the requested site as Sec-Fetch-Site: 'same-origin'. r=ckerschb,robwu 2021-08-05 10:35:45 +00:00
serializers
serviceworkers Bug 1638099 - Cover with an explicit xpcshell test the expected service worker lifecycle events on addon reload and browser restart. r=asuth,mixedpuppy 2021-07-26 17:52:26 +00:00
simpledb
smil
storage Bug 1722485 - Only flush session storage if we have SessionStore.jsm, r=nika 2021-08-05 19:33:04 +00:00
svg
system Bug 1723641 - Remove OS.Constants.Path.libsqlite3. r=peterv 2021-08-05 07:43:44 +00:00
tests Bug 1613705 - [localization] part17: Fix racy tests to wait for l10n frame. r=platform-i18n-reviewers,dminor,application-update-reviewers,nalexander 2021-08-03 16:25:16 +00:00
u2f Bug 1718296 - Part 1: Disable failing mochitest-plain tests on Windows 10 2004 r=jmaher 2021-07-29 18:30:37 +00:00
url
vr
webauthn Bug 1718296 - Part 1: Disable failing mochitest-plain tests on Windows 10 2004 r=jmaher 2021-07-29 18:30:37 +00:00
webbrowserpersist
webgpu Bug 1723050 - Part 32: Replace typedef by using in dom/webgpu/ r=kvark 2021-08-05 00:11:58 +00:00
webidl Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag 2021-08-06 00:10:56 +00:00
webshare
websocket Bug 1723682: Update tests within dom/websocket to work with https-first enabled r=edgar 2021-08-04 06:14:22 +00:00
workers Bug 1720568: Be more explicit about the WorkerPrivate self-reference. r=dom-worker-reviewers,asuth 2021-07-24 10:04:55 +00:00
worklet
xhr Bug 1723723 - stop using getURLSpecFromFile from JS code to avoid mainthread IO, r=florian 2021-08-03 18:32:50 +00:00
xml
xslt
xul Bug 1718755 - Fix the SpecialPowers pref code to deal with ui / font prefs correctly after the previous change. r=kmag 2021-07-20 14:10:58 +00:00
jar.mn
moz.build