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 aa9b1db7d6 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-10 14:31:17 +00:00
.cargo Bug 1723457 - Bump jsparagus version for bug 1722002. r=nbp 2021-08-10 13:08:02 +00:00
.vscode
accessible Bug 1723921 - Cleanup nsComputedDOMStyle and related APIs. r=layout-reviewers,jfkthame 2021-08-07 09:47:15 +00:00
browser Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag 2021-08-10 14:31:16 +00:00
build Backed out changeset a1a730897df8 (bug 1723956) for causing build bustages. CLOSED TREE 2021-08-10 01:38:42 +03: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 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-08-09 16:20:45 +00:00
devtools Bug 1724718 - fix various trivial dead references in product code, r=mossop 2021-08-10 11:04:11 +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-10 14:31:17 +00:00
dom Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-10 14:31:17 +00:00
editor Bug 1719110 - Add nsIEditorSpellCheck.suggest to get rid of PRemoteSpellcheckEngine.CheckAndSuggest. r=masayuki 2021-08-10 03:55:25 +00:00
extensions Bug 1719110 - Don't use sync IPC to show suggestion by spellchecker. r=Gijs 2021-08-10 03:55:25 +00:00
gfx Bug 1724907 - Don't use system-ui as a fallback generic. r=jfkthame 2021-08-10 14:19:04 +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 1724727 - Make SVG image blob recordings use visibility rects. r=jrmuizel 2021-08-09 20:39:31 +00:00
intl Bug 1719550 - Remove nsCollation; r=platform-i18n-reviewers,nordzilla 2021-08-10 11:46:38 +00:00
ipc Bug 1723934 - Remove old and useless crash annotations r=KrisWright 2021-08-09 20:08:17 +00:00
js Bug 1724913 - Part 3: Update test262 test exclusions. r=mgaudet 2021-08-10 13:39:38 +00:00
layout Bug 1717760 - Stop using KeyEvent.initKeyEvent in our tests r=smaug 2021-08-10 03:51: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-10 09:55:22 +00:00
mobile Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-10 14:31:17 +00:00
modules Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-10 14:31:17 +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-10 14:31:17 +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 Backed out 4 changesets (bug 1724372, bug 1724374) for causing macos non-unified build bustages in BlockingResourceBase.h. 2021-08-07 05:49:03 +03:00
remote Backed out changeset 4079bc8d46ca (bug 1719124) for causing failures on printcmd.py. CLOSED TREE 2021-08-06 19:31:56 +03:00
security Bug 1308105 - Replace PL_strpbrk with strpbrk r=xpcom-reviewers,kmag 2021-08-10 11:30:39 +00:00
services Merge mozilla-central to autoland. CLOSED TREE 2021-08-09 19:13:59 +02:00
servo Bug 1706080 - [css-fonts] Implement 'font-synthesis: small-caps'. r=jfkthame 2021-08-09 21:41:34 +00:00
startupcache
storage Bug 1719550 - Use Intl.Collator in test_locale_collation.js; r=platform-i18n-reviewers,nordzilla 2021-08-10 11:46:38 +00:00
taskcluster Bug 1670261 - Add Mozilla Maven as a maven repository on CI. r=agi,firefox-build-system-reviewers,mhentges,nalexander 2021-08-10 07:49:08 +00:00
testing Bug 1723198 - Don't delete user.js in remotexpcshelltests.py + tests r=jmaher 2021-08-10 12:14:05 +00:00
third_party Bug 1723457 - Bump jsparagus version for bug 1722002. r=nbp 2021-08-10 13:08:02 +00:00
toolkit Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-10 14:31:17 +00:00
tools Bug 1716785 - Report the uncapped macOS version in profile.meta.oscpu - r=canaltinova 2021-08-10 09:50:44 +00:00
uriloader Bug 1724296 - Remove many skip-if(verify) test annotations (xpcshell); r=jmaher,necko-reviewers 2021-08-06 13:25:50 +00:00
view Bug 1722258 - Convert more LayerManager usage to use WindowRenderer. r=miko 2021-08-05 06:48:34 +00:00
widget Bug 1723934 - Remove useless nsExceptionHandler.h inclusions and crash reporter service definitions r=necko-reviewers,dragana 2021-08-09 20:08:17 +00:00
xpcom Bug 1308105 - Replace PL_strpbrk with strpbrk r=xpcom-reviewers,kmag 2021-08-10 11:30:39 +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 Bug 1714641: Remove usages of vendored "wptserve_py2" library r=jgraham,ahal 2021-06-09 15:48:51 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags No bug - tagging 82f33bb4e9dbcb837a484109a607d28eac7837dd with FIREFOX_NIGHTLY_92_END a=release DONTBUILD CLOSED TREE 2021-08-09 16:20:38 +00:00
.lando.ini Bug 1714470: add .lando.ini file r=zeid DONTBUILD 2021-06-08 12:52:25 +00:00
.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 Bug 1670261 - Ensure the Glean versions in the project match. r=agi,chutten 2021-08-10 07:49:08 +00:00
Cargo.lock Bug 1723457 - Bump jsparagus version for bug 1722002. r=nbp 2021-08-10 13:08:02 +00:00
Cargo.toml Bug 1670261 - Upgrade Glean, include glean-ffi and re-export its symbols. r=chutten 2021-08-10 07:49:07 +00: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.