gecko-dev/dom
Nika Layzell 35dca5bd20 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-03 15:39:34 +00:00
..
abort
animation Backed out changeset e41bfdf79fb8 (bug 1665476) for causing windows mochitest failures in test_windowminmaxsize.xhtml 2021-08-02 02:14:52 +03:00
audiochannel
base Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-03 15:39:34 +00:00
battery
bindings Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE 2021-08-03 12:36:01 +03:00
broadcastchannel
browser-element
cache Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
canvas Bug 1722699 - Handle "RENOIR" RENDERER. r=lsalzman 2021-08-03 07:14:08 +00:00
chrome-webidl Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE 2021-08-03 12:36:01 +03:00
clients Bug 1503072 - Add mitigation to bypass SW on navigation fault. r=dom-worker-reviewers,necko-reviewers,valentin,edenchuang 2021-07-12 21:10:26 +00:00
commandhandler
console Bug 1708448 - Move property and element functions into js/public/PropertyAndElement.h. r=nbp 2021-07-13 11:52:42 +00:00
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 Bug 1713523 - Remove 'else' after 'return' in CryptoBuffer. r=andi 2021-07-09 12:20:40 +00:00
debugger
docs Bug 1722754 - Fix up links and formating. r=mccr8 2021-07-29 15:22:45 +00:00
encoding Bug 1696038 - Enable fission reftests on more platforms, r=jmaher 2021-06-24 15:12:48 +00:00
events Bug 1714285 - Make `test_coalesce_mousewheel.html` retry to get ideal result unless `wheel` event values are wrong r=smaug 2021-08-02 23:24:12 +00:00
fetch Bug 1714299 - Correct the opaque response judgment for opaque response blocking. r=necko-reviewers,annevk,dragana 2021-07-02 23:11:55 +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 1723476: Update tests within dom/html to work with https-first enabled r=smaug 2021-08-03 05:16:36 +00:00
imptests
indexedDB Bug 1661413 - Improve deleting files in DeleteFileManagerDirectory; r=dom-storage-reviewers,asuth 2021-08-03 11:43:50 +00:00
interfaces Bug 1718761 - Move {Start,Stop}ApzAutoscroll to CanonicalBrowsingContext, r=Gijs,hiro 2021-07-31 01:39:09 +00:00
ipc Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-03 15:39:34 +00:00
jsurl
l10n Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE 2021-08-03 12:36:01 +03:00
locales Bug 1719011 - Consider incomplete date/time inputs as "bad input". r=smaug 2021-07-05 09:22:31 +00:00
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 Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE 2021-08-03 12:36:01 +03:00
messagechannel
midi
network Bug 1717185 - Fix mBufferedAmount and return value of send in TCPSocket. r=valentin 2021-07-01 00:20:14 +00:00
notification
offline
payments
performance Bug 1666222: Cut over a ton of NowUnfuzzed calls -> Now 4/5 r=smaug,extension-reviewers,zombie 2021-07-14 18:18:17 +00:00
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 1661413 - Improve deleting files in DeleteFileManagerDirectory; r=dom-storage-reviewers,asuth 2021-08-03 11:43:50 +00:00
reporting Bug 1708448 - Move property and element functions into js/public/PropertyAndElement.h. r=nbp 2021-07-13 11:52:42 +00:00
res
script Backed out changeset fbb89c5b851b (bug 1720692) for casuing bustages complaining about 'CommandContext'. 2021-07-16 20:15:54 +03:00
security Backed out changeset 6bcd0226a473 (bug 1721146) for causing xpcshell failures on test_DownloadLegacy.js. CLOSED TREE 2021-08-03 17:54:05 +03: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 Bug 1717990 - SDB: Convert some NS_ERROR_FAILURE which should have been NS_ERROR_ABORT; r=dom-storage-reviewers,jstutte 2021-06-25 06:28:00 +00:00
smil
storage Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
svg
system Bug 1714583 - allow nsIFile::Create to skip creating ancestor directories, to fix IOUtils::makeDirectory, to fix UNC default download folders, r=barret,xpcom-reviewers,mccr8 2021-07-21 18:38:12 +00:00
tests Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE 2021-08-03 12:36:01 +03: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 Backed out changeset 3cb3442efede (bug 1622846) for causing Bug 1722702 CLOSED TREE 2021-07-29 20:14:46 +03:00
webidl Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag 2021-08-03 15:39:33 +00:00
webshare
websocket Bug 1713748 - Partition WebSocket nsWSAdmissionManager queue. r=timhuang,nhnt11 2021-07-21 12:44:40 +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 1723511: Update tests within dom/xhr to work with https-first enabled r=smaug 2021-08-03 05:16:15 +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