Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
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
.cargo Bug 1724196 - Neqo version 0.4.29 r=necko-reviewers,valentin 2021-08-05 14:31:12 +00:00
.vscode
accessible Bug 1723614 - P2: Robustify name change events and use events in name tests. r=Jamie 2021-08-05 23:04:17 +00:00
browser 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
build Bug 1717051: Move global mach dependencies to requirements definition r=ahal 2021-08-05 15:14:20 +00:00
caps Bug 1724206 - Use WebExtensionPolicy webidl definition for addonPolicy property on nsIPrincipal. r=Gijs 2021-08-05 18:16:17 +00:00
chrome
config Bug 1723447 - Get latest rlbox, wasm2c plugin, rt, compiler for 32bit platform support r=glandium 2021-08-04 21:37:45 +00:00
devtools Bug 1682995 - Enable AVIF support by default. r=jrmuizel,necko-reviewers,preferences-reviewers,valentin,Gijs 2021-08-05 15:48:00 +00:00
docs Bug 1722456 - [devtools] Update documentation to find Devtools reviewers r=Honza 2021-08-02 14:14:22 +00:00
docshell Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-06 00:10:57 +00:00
dom Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-06 00:10:57 +00:00
editor Bug 1722748 - Make TextServicesDocument::OffsetEntryArray::RemoveInvalidElements() adjust selection indexes when middle of the selection start and end entry is removed r=m_kato 2021-08-04 04:40:38 +00:00
extensions Bug 1706292 - Do not clone principal for CookieJarSettings cookie permission check. r=timhuang,ckerschb 2021-07-30 15:01:07 +00:00
gfx Bug 1724327 - Replace nsLayoutUtils::GetCrossDocParentFrame in CreateAnimationData with nsLayoutUtils::GetCrossDocParentFrameInProcess. r=boris 2021-08-06 00:00:50 +00:00
gradle/wrapper
hal Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
image Bug 1682995 - Enable AVIF support by default. r=jrmuizel,necko-reviewers,preferences-reviewers,valentin,Gijs 2021-08-05 15:48:00 +00:00
intl Bug 1723886 - Remove mozILocalization. r=platform-i18n-reviewers,gregtatum 2021-08-04 15:40:29 +00:00
ipc Bug 1723954: Return NS_OK if PrincipalInfoToPrincipal fails. r=ckerschb 2021-08-05 13:58:41 +00:00
js Bug 1724234 - Remove unused shell 'intern' function r=tcampbell 2021-08-05 16:54:49 +00:00
layout Bug 1724182 - Unescape the fragment from the URL when using as an internal PDF destination. r=dholbert 2021-08-05 22:07:37 +00:00
media Bug 1723247 - Update mp4parse-rust to 5326af6 r=kinetik 2021-08-03 23:23:42 +00:00
memory Bug 1720342: Do not run logalloc tests for the CodeQL build r=glandium 2021-07-23 17:00:46 +00:00
mfbt Bug 1341265 - Part 11: Optimise Set.prototype.has for objects in CacheIR. r=iain 2021-08-02 16:38:04 +00:00
mobile Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-06 00:10:57 +00:00
modules Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-06 00:10:57 +00:00
mozglue Bug 1723868 - Skip msvp9dec_store.dll in GetInfoForSelf(). r=gerald 2021-08-05 02:36:27 +00:00
netwerk Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-06 00:10:57 +00:00
nsprpub Bug 1715584 - Update to NSPR_4_32_RTM (no code change). r=bbeurdouche UPGRADE_NSPR_RELEASE DONTBUILD 2021-07-01 09:07:04 +00:00
other-licenses
parser Bug 1718184 - pt 1. IdleTaskRunner now uses TimeDuration r=nika 2021-07-13 01:42:32 +00:00
python Bug 1724247 - Post: Make test publisher subject more than CN; use universal_newlines=True. r=firefox-build-system-reviewers,mhentges 2021-08-05 18:42:19 +00:00
remote Bug 1713441 - [remote] Fix undefined type in log from MessageHandler destroy r=webdriver-reviewers,whimboo 2021-08-05 11:55:14 +00:00
security 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
services 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
servo Bug 1723791 - Upgrade to uluru 1.1.1. r=emilio 2021-08-04 10:07:56 +02:00
startupcache
storage Bug 1720374 - Remove MOZ_GECKO_PROFILER ifdefs that are not useful, r=gerald. 2021-07-15 22:04:23 +00:00
taskcluster Backed out changeset e0eb8376a840 (bug 1716825) for causing Btime failures. CLOSED TREE 2021-08-05 23:58:46 +03:00
testing Backed out changeset e0eb8376a840 (bug 1716825) for causing Btime failures. CLOSED TREE 2021-08-05 23:58:46 +03:00
third_party Bug 1724196 - Neqo version 0.4.29 r=necko-reviewers,valentin 2021-08-05 14:31:12 +00:00
toolkit Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-06 00:10:57 +00:00
tools Backed out changeset e0eb8376a840 (bug 1716825) for causing Btime failures. CLOSED TREE 2021-08-05 23:58:46 +03:00
uriloader Backed out changeset 1c892391a0e1 (bug 1721146) for causing dt failures in browser_console_clear_cache.js 2021-08-04 17:09:12 +03:00
view Bug 1722258 - Convert more LayerManager usage to use WindowRenderer. r=miko 2021-08-05 06:48:34 +00:00
widget Bug 1722700 [Wayland] Merge WaylandDragAndDropDataOffer and DataOffer classes, r=rmader 2021-08-05 14:56:08 +00:00
xpcom Bug 1724107, be more precise when counting the number of allocator users, r=KrisWright 2021-08-05 19:36:32 +00:00
xpfe/appshell Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio 2021-08-03 16:25:13 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore Bug 1719491 - revert clang-format of tools/profiler/public/GeckoTraceEvent.h. r=ng 2021-07-07 15:57:17 +00:00
.cron.yml Bug 1722708 - Adjust time for l10n-cross-channel to run closer to m-c merges, r=aki 2021-07-28 17:44:55 +00:00
.eslintignore Bug 1721109 - Move ProfilerGetSymbols code out of toolkit/components/extensions and into devtools directories. r=canaltinova 2021-07-29 20:28:44 +00:00
.eslintrc.js Bug 1716642 - Replaced calls to GlobalManager.extensionMap.get() with WebExtensionPolicy.getByID(). r=Standard8,kmag,robwu 2021-06-24 15:06:17 +00:00
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags No bug - tagging 41ae2b104b93c1779db0f34ba1c045e3e696898b with FIREFOX_NIGHTLY_91_END a=release DONTBUILD CLOSED TREE 2021-07-12 12:48:34 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1721729 - Increase decision task timeout to 60 minutes, r?#taskgraph-reviewers! CLOSED TREE 2021-07-22 17:27:36 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Backed out 6 changesets (bug 1670261) for causing perma android bustage. CLOSED TREE 2021-08-03 15:11:22 +03:00
Cargo.lock Bug 1724196 - Neqo version 0.4.29 r=necko-reviewers,valentin 2021-08-05 14:31:12 +00:00
Cargo.toml Backed out 6 changesets (bug 1670261) for causing perma android bustage. CLOSED TREE 2021-08-03 15:11:22 +03:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-07-12 12:48:42 +00:00
configure.in
configure.py Bug 1720591: Remove unused patch_main() for Python < 3.4 on Windows r=ahal 2021-07-16 16:34:42 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach
mach.ps1
Makefile.in
moz.build
moz.configure Bug 1721514 - Add a few more debugging logs about configure bootstrap. r=firefox-build-system-reviewers,andi 2021-07-21 21:00:13 +00:00
mozilla-config.h.in
old-configure.in Bug 1723389 - Bump the required version of system pixman. r=firefox-build-system-reviewers,andi 2021-08-03 04:41:02 +00:00
package-lock.json
package.json
README.txt
settings.gradle
substitute-local-geckoview.gradle Bug 1709640 - Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium 2021-07-20 22:19:17 +00:00
test.mozbuild

An explanation of the Firefox Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Firefox developers for
testing, may be buggy.