gecko-dev/netwerk
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
..
base Bug 1308106 - Replace PL_strstr with a safer Gecko string class or function r=necko-reviewers,valentin 2021-08-05 09:31:30 +00:00
build
cache
cache2 Bug 1714608 - Cleaned up partitionKey base domain helpers. r=timhuang 2021-07-07 16:05:06 +00:00
cookie Bug 1722986: Update tests within netwerk/ to work with https-first enabled r=dragana 2021-08-03 11:28:42 +00:00
dns No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau 2021-08-05 12:14:03 +00:00
docs
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
locales
mime Bug 1308106 - Replace PL_strstr with a safer Gecko string class or function r=necko-reviewers,valentin 2021-08-05 09:31:30 +00:00
protocol Bug 1308106 - Replace PL_strstr with a safer Gecko string class or function r=necko-reviewers,valentin 2021-08-05 09:31:30 +00:00
sctp
socket Bug 1724196 - Neqo version 0.4.29 r=necko-reviewers,valentin 2021-08-05 14:31:12 +00:00
streamconv
system
test Bug 1682995 - Enable AVIF support by default. r=jrmuizel,necko-reviewers,preferences-reviewers,valentin,Gijs 2021-08-05 15:48:00 +00:00
url-classifier
wifi
moz.build