gecko-dev/toolkit/modules
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
..
docs Bug 1700836 - Remove expired firstStartup telemetry. r=mythmon 2021-05-04 18:44:52 +00:00
secondscreen
sessionstore Bug 1715852 - Fix SessionHistoryEntry::mSrcdocData to work with session restore, r=peterv 2021-06-15 13:34:01 +00:00
subprocess Bug 1714200: skip failing xpcshell tests on M1 machines r=jmaher 2021-08-06 19:16:55 +00:00
tests Bug 1717760 - Stop using `KeyEvent.initKeyEvent` in our tests r=smaug 2021-08-10 03:51:37 +00:00
third_party Backed out 3 changesets (bug 1681985) for causing performance issues. 2021-04-01 17:51:47 +03:00
AboutPagesUtils.jsm
ActorManagerParent.jsm Bug 1706302 - Part 1: Use DOMDocElementCreated for RemotePage actors, r=Gijs 2021-07-09 16:30:28 +00:00
AppConstants.jsm Bug 1720389 - Add IS_ESR to AppConstants and rename ESR #ifdef to MOZ_ESR. r=glandium 2021-07-22 20:00:26 +00:00
AppMenuNotifications.jsm
AsyncPrefs.jsm Bug 1667973 - Add a sandbox to evaluate js embedded in PDF r=bdahl,dveditz,robwu 2021-02-19 16:14:38 +00:00
BinarySearch.jsm
BrowserTelemetryUtils.jsm
BrowserUtils.jsm Bug 1716883 - fix autoscroll behaviour over various SVG elements, r=masayuki 2021-07-19 11:36:55 +00:00
CanonicalJSON.jsm
CertUtils.jsm
Color.jsm
Console.jsm
ContentDOMReference.jsm
CreditCard.jsm Backed out 3 changesets (bug 1681985) for causing performance issues. 2021-04-01 17:51:47 +03:00
DateTimePickerPanel.jsm Bug 1283388 - Implement datetime-local UI. r=Gijs 2021-08-09 10:36:13 +00:00
DeferredTask.jsm Bug 1724222 - Add profiler markers in DeferredTask, r=mconley. 2021-08-05 17:30:09 +00:00
Deprecated.jsm
E10SUtils.jsm Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-10 14:31:17 +00:00
EventEmitter.jsm
FileUtils.jsm
FindBarContent.jsm
Finder.jsm Bug 1690783, move call to updateScrollMarks to occur after the highlight and match count is determined to better ensure that the found ranges have been determined, r=mikedeboer 2021-02-11 14:12:29 +00:00
FinderHighlighter.jsm Bug 1694027, use the body's scrollHeight to compute the scroll area is it is available, r=mikedeboer 2021-03-03 15:02:55 +00:00
FinderIterator.jsm
FinderParent.jsm Bug 1693877 - Closing tabs should not trigger the finder lazy getter, r=mikedeboer. 2021-03-03 10:50:20 +00:00
FirstStartup.jsm Bug 1700836 - Remove expired firstStartup telemetry. r=mythmon 2021-05-04 18:44:52 +00:00
FormLikeFactory.jsm
GMPExtractorWorker.js
GMPInstallManager.jsm
GMPUtils.jsm
Geometry.jsm
HiddenFrame.jsm Bug 1571419 - Make --screenshot fission compatible. r=kmag 2021-03-01 23:33:14 +00:00
Http.jsm
IgnoreLists.jsm
IndexedDB.jsm
InlineSpellChecker.jsm Bug 1719110 - Don't use sync IPC to show suggestion by spellchecker. r=Gijs 2021-08-10 03:55:25 +00:00
InlineSpellCheckerContent.jsm Bug 1719110 - Don't use sync IPC to show suggestion by spellchecker. r=Gijs 2021-08-10 03:55:25 +00:00
Integration.jsm
JSONFile.jsm Bug 1649604, remove OS.File usage from JSONFile.jsm r=Gijs,robwu 2021-08-03 15:14:18 +00:00
KeywordUtils.jsm Bug 1662172 - Part 2 - Remove keyword code from UnifiedComplete. r=adw 2021-06-17 22:04:54 +00:00
LayoutUtils.jsm
LightweightThemeConsumer.jsm Bug 1724115 - Don't force urlbar focus to black on white with system theme. r=harry,dao 2021-08-06 13:27:50 +00:00
Log.jsm
NLP.jsm
NewTabUtils.jsm Bug 1722465 - Investigate using telemetry archived data for determining profile activity r=Mardak 2021-07-30 15:57:54 +00:00
OSKeyStore.jsm
ObjectUtils.jsm
OsEnvironment.jsm
PageMenu.jsm
PermissionsUtils.jsm
PopupNotifications.jsm Bug 1714336 - Removes the disableHighlight option for doorhangers. r=Gijs 2021-08-03 16:26:28 +00:00
Preferences.jsm
PrivateBrowsingUtils.jsm
ProcessType.jsm Bug 1712630 - Introduce ProcessType.jsm to manage process type strings. r=Gijs,fluent-reviewers 2021-06-01 17:44:22 +00:00
ProfileAge.jsm Bug 1649598 - Migrate ProfileAge.jsm to IOUtils and PathUtils r=emalysz 2021-03-23 18:27:40 +00:00
Promise-backend.js Bug 1515695 - Remove Task.jsm. r=florian,jdescottes 2021-06-17 08:28:02 +00:00
Promise.jsm
PromiseUtils.jsm
PropertyListUtils.jsm
Region.jsm
RemotePageAccessManager.jsm Bug 1706593: Update prePath to camel case in nsIPrincipal.idl r=Gijs 2021-04-30 11:16:31 +00:00
ResetProfile.jsm Bug 1693133 - Update refresh Firefox dialog for Proton r=Gijs 2021-03-25 17:28:55 +00:00
ResponsivenessMonitor.jsm
SelectionUtils.jsm
ServiceRequest.jsm
Services.jsm
ShortcutUtils.jsm
Sqlite.jsm
SubDialog.jsm Bug 1710633 - Use the actual titlebar height to determine subdialog size. r=Mardak 2021-06-11 20:02:37 +00:00
Timer.jsm
Troubleshoot.jsm Bug 1721347 - Add OS theme info to about:support. r=Gijs,fluent-reviewers 2021-07-20 20:09:09 +00:00
UpdateUtils.jsm Bug 1703732 - Catch exception if `BackgroundAppUpdate` policy has locked `app.update.background.enabled`. r=bytesized,application-update-reviewers 2021-04-08 22:55:21 +00:00
WebChannel.jsm
WindowsRegistry.jsm
jar.mn
moz.build Bug 1713627 - Remove code obsoleted by the replacing the Text Encoding menu with one item. r=jaws,emk 2021-06-21 12:09:01 +00:00
nsIBrowserWindowTracker.idl
nsIE10SUtils.idl Bug 1650089 - Part 3: Rework DocumentChannel-triggered process switches to support null principals, r=annyG,kmag 2021-08-10 14:31:17 +00:00
nsIRegion.idl
win.xhtml