Support DocumentLoadListener-triggered toplevel process switches outside of tabbrowser
Categories
(Core :: DOM: Navigation, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
References
Details
(Keywords: perf-alert)
Attachments
(8 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Comment 1•5 years ago
|
||
This new process switching behavior is only enabled for some browser elements,
which have specified a specific attribute. Turning this on for all browsers with
a remote
attribute causes breakage in reftests.
The initial version does not handle switching from remote to parent or
vice-versa, that is covered in a later part.
Assignee | ||
Comment 2•5 years ago
|
||
Add a series of extra hooks and methods to allow tabbrowser to use the new
process switching codepath. This duplicates some of the logic from
updateBrowserRemoteness
into event handlers.
Assignee | ||
Comment 3•5 years ago
|
||
Due to the PPDC process switching changes, we also handle switching between
remote and non-remote browsers with DocumentLoadListener. Adds support to
CanonicalBrowsingContext::ChangeFrameRemoteness to allow it to handle non-remote
browsers as well.
Assignee | ||
Comment 4•5 years ago
|
||
As tabbrowser now uses PROCESS_BEHAVIOR_STANDARD
, PROCESS_BEHAVIOR_CUSTOM
is
now unused. This patch removes that now-unused code.
Assignee | ||
Comment 5•5 years ago
|
||
These were only used by process switches triggered via DocumentChannel, which
now take the PROCESS_BEHAVIOR_STANDARD codepath.
Assignee | ||
Comment 6•5 years ago
|
||
This pref was enabled on all platforms, and the codepath which has it disabled
has been untested for some time. Remove the pref to simplify the code handling
the old case.
Assignee | ||
Comment 7•5 years ago
|
||
This method was used by GroupedSHistory for prerendering, and was missed when we
ripped out the incomplete code.
Assignee | ||
Comment 8•5 years ago
|
||
This assertion would spuriously fire if a content process died after its id was
taken.
Comment 10•5 years ago
|
||
Backed out for bc failures on browser_autoOpen.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/a86c59085c380d03391f3ecf40807d616107cd02
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=306154280&repo=autoland&lineNumber=2066
Also:
- bc failures on browser_UsageTelemetry_content.js -> https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=306151388&repo=autoland&lineNumber=4478
- dt failure on browser_preloaded_newtab.js -> https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=306151350&repo=autoland&lineNumber=10882
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d027f301f08c
https://hg.mozilla.org/mozilla-central/rev/09337b5ac5cc
https://hg.mozilla.org/mozilla-central/rev/8421adf26e66
https://hg.mozilla.org/mozilla-central/rev/aee7b778f2fd
https://hg.mozilla.org/mozilla-central/rev/5f597199f5b1
https://hg.mozilla.org/mozilla-central/rev/756d28d0d393
https://hg.mozilla.org/mozilla-central/rev/0fcce0287c02
https://hg.mozilla.org/mozilla-central/rev/879feb334274
Assignee | ||
Updated•5 years ago
|
Comment 13•5 years ago
|
||
== Change summary for alert #26254 (as of Wed, 17 Jun 2020 13:17:47 GMT) ==
Improvements:
1% Base Content JS windows7-32-shippable opt 2,907,873.83 -> 2,875,532.67
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=26254
Description
•