зеркало из https://github.com/mozilla/gecko-dev.git
aa9b1db7d6
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 |
||
---|---|---|
.. | ||
docs | ||
secondscreen | ||
sessionstore | ||
subprocess | ||
tests | ||
third_party | ||
AboutPagesUtils.jsm | ||
ActorManagerParent.jsm | ||
AppConstants.jsm | ||
AppMenuNotifications.jsm | ||
AsyncPrefs.jsm | ||
BinarySearch.jsm | ||
BrowserTelemetryUtils.jsm | ||
BrowserUtils.jsm | ||
CanonicalJSON.jsm | ||
CertUtils.jsm | ||
Color.jsm | ||
Console.jsm | ||
ContentDOMReference.jsm | ||
CreditCard.jsm | ||
DateTimePickerPanel.jsm | ||
DeferredTask.jsm | ||
Deprecated.jsm | ||
E10SUtils.jsm | ||
EventEmitter.jsm | ||
FileUtils.jsm | ||
FindBarContent.jsm | ||
Finder.jsm | ||
FinderHighlighter.jsm | ||
FinderIterator.jsm | ||
FinderParent.jsm | ||
FirstStartup.jsm | ||
FormLikeFactory.jsm | ||
GMPExtractorWorker.js | ||
GMPInstallManager.jsm | ||
GMPUtils.jsm | ||
Geometry.jsm | ||
HiddenFrame.jsm | ||
Http.jsm | ||
IgnoreLists.jsm | ||
IndexedDB.jsm | ||
InlineSpellChecker.jsm | ||
InlineSpellCheckerContent.jsm | ||
Integration.jsm | ||
JSONFile.jsm | ||
KeywordUtils.jsm | ||
LayoutUtils.jsm | ||
LightweightThemeConsumer.jsm | ||
Log.jsm | ||
NLP.jsm | ||
NewTabUtils.jsm | ||
OSKeyStore.jsm | ||
ObjectUtils.jsm | ||
OsEnvironment.jsm | ||
PageMenu.jsm | ||
PermissionsUtils.jsm | ||
PopupNotifications.jsm | ||
Preferences.jsm | ||
PrivateBrowsingUtils.jsm | ||
ProcessType.jsm | ||
ProfileAge.jsm | ||
Promise-backend.js | ||
Promise.jsm | ||
PromiseUtils.jsm | ||
PropertyListUtils.jsm | ||
Region.jsm | ||
RemotePageAccessManager.jsm | ||
ResetProfile.jsm | ||
ResponsivenessMonitor.jsm | ||
SelectionUtils.jsm | ||
ServiceRequest.jsm | ||
Services.jsm | ||
ShortcutUtils.jsm | ||
Sqlite.jsm | ||
SubDialog.jsm | ||
Timer.jsm | ||
Troubleshoot.jsm | ||
UpdateUtils.jsm | ||
WebChannel.jsm | ||
WindowsRegistry.jsm | ||
jar.mn | ||
moz.build | ||
nsIBrowserWindowTracker.idl | ||
nsIE10SUtils.idl | ||
nsIRegion.idl | ||
win.xhtml |