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
Перейти к файлу
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
.cargo Bug 1723187 - Update l10nregistry-rs to handle sync-during-async overload. r=emilio 2021-08-02 17:42:20 +00:00
.vscode
accessible Backed out changeset 6bcd0226a473 (bug 1721146) for causing xpcshell failures on test_DownloadLegacy.js. CLOSED TREE 2021-08-03 17:54:05 +03:00
browser 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
build Bug 1723016 - Update builders to rustc 1.54. r=firefox-build-system-reviewers,nalexander 2021-08-03 02:03:32 +00:00
caps Bug 1706292 - Do not clone principal for CookieJarSettings cookie permission check. r=timhuang,ckerschb 2021-07-30 15:01:07 +00:00
chrome
config Bug 1723107 - Generate breadpad symbol files for librlbox. r=firefox-build-system-reviewers,mhentges 2021-08-02 22:19:47 +00:00
devtools Bug 1715773 - Remove preloaded newtab process selection logic, r=mconley 2021-08-03 15:17:07 +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-03 15:39:34 +00:00
dom Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-03 15:39:34 +00:00
editor Bug 1723125 - Ignore normal selection when updating composition string r=m_kato 2021-08-02 08:23:50 +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 Backed out 2 changesets (bug 1717151) for Crashtest failures in dom/media/gmp/GMPServiceParent.cpp. CLOSED TREE 2021-08-03 01:56:11 +03: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 1723741 - Fix how SVG images in blob recordings would always be transparent. r=gfx-reviewers,jrmuizel 2021-08-03 13:50:00 +00:00
intl Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE 2021-08-03 12:36:01 +03:00
ipc Bug 1687843: PreallocatedProcessManager will return a launching process if one exists r=nika 2021-07-24 03:25:59 +00:00
js Bug 1719194 part 5 - Reorganize the previous parse cache to hide internals. r=arai 2021-08-03 12:03:00 +00:00
layout Bug 1722945 - Support break-inside: avoid-{page,column}. r=TYLin 2021-08-03 13:59:47 +00:00
media Bug 1723096 - Update libcubeb to revision 85f1cf4. r=cubeb-reviewers,kinetik 2021-08-02 15:46:08 +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-03 15:39:34 +00:00
modules Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-03 15:39:34 +00:00
mozglue Bug 1722515 - Only build ActivationContext.cpp in mozglue if a11y r=Jamie 2021-08-03 14:40:38 +00:00
netwerk Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-03 15:39:34 +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 Bug 1710751: Create LINKS_TO relation to track anchors and their corresponding elements r=eeejay 2021-05-26 21:31:42 +00:00
parser Bug 1718184 - pt 1. IdleTaskRunner now uses TimeDuration r=nika 2021-07-13 01:42:32 +00:00
python Bug 1712817: Add tests for mozbuild file editing r=jewilde 2021-08-03 15:39:23 +00:00
remote Bug 1723026 - [remote] Enable mochitest-remote suite on Fission platforms r=webdriver-reviewers,whimboo,jmaher 2021-08-02 09:50:17 +00:00
security Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE 2021-08-03 12:36:01 +03:00
services Bug 1649604, remove OS.File usage from JSONFile.jsm r=Gijs,robwu 2021-08-03 15:14:18 +00:00
servo Bug 1722945 - Support break-inside: avoid-{page,column}. r=TYLin 2021-08-03 13:59:47 +00: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 6 changesets (bug 1670261) for causing perma android bustage. CLOSED TREE 2021-08-03 15:11:22 +03:00
testing Bug 1639850 - disable many testing/xpcshell/example/unit xpcshell tests on windows debug. r=intermittent-reviewers,bhearsum 2021-08-03 15:08:14 +00:00
third_party Backed out 6 changesets (bug 1670261) for causing perma android bustage. CLOSED TREE 2021-08-03 15:11:22 +03:00
toolkit Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-03 15:39:34 +00:00
tools Bug 1652560 - Also remove some unused imports. 2021-08-01 19:00:44 +00:00
uriloader Backed out changeset 6bcd0226a473 (bug 1721146) for causing xpcshell failures on test_DownloadLegacy.js. CLOSED TREE 2021-08-03 17:54:05 +03:00
view Bug 1722653 - Remove MOZ_CAIRO_CFLAGS. r=firefox-build-system-reviewers,jgilbert,andi 2021-07-29 23:38:31 +00:00
widget Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE 2021-08-03 12:36:01 +03:00
xpcom Bug 1715773 - Remove preloaded newtab process selection logic, r=mconley 2021-08-03 15:17:07 +00:00
xpfe/appshell Backed out 19 changesets (bug 1613705) for causing build bustages complaining about Document.cpp. CLOSED TREE 2021-08-03 12:36:01 +03: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 41ae2b104b93c1779db0f34ba1c045e3e696898b with FIREFOX_NIGHTLY_91_END a=release DONTBUILD CLOSED TREE 2021-07-12 12:48:34 +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
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-07-12 12:48:42 +00:00
Cargo.lock Backed out 6 changesets (bug 1670261) for causing perma android bustage. CLOSED TREE 2021-08-03 15:11:22 +03:00
Cargo.toml Backed out 6 changesets (bug 1670261) for causing perma android bustage. CLOSED TREE 2021-08-03 15:11:22 +03:00
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle 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
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
gradle.properties
gradlew
gradlew.bat
mach Bug 1713173 - Add `--profile-command` flag for profiling `mach` commands. r=firefox-build-system-reviewers,mhentges 2021-06-02 21:28:56 +00:00
mach.ps1
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 Bug 1702858 - Update node modules for latest versions, remove obsolete. r=mossop 2021-05-19 16:53:53 +00:00
package.json Bug 1702858 - Update node modules for latest versions, remove obsolete. r=mossop 2021-05-19 16:53:53 +00:00
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

README.txt

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.