When we do not have the initial URI a page is loading, default the browser to the PRIVILEGEDABOUT_REMOTE_TYPE
Categories
(Firefox :: Tabbed Browser, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox95 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
In looking at landing bug 1649599, we saw some performance regressions in the startup_about_home_* tests.
Investigation showed that due to the performance improvements for sessionstore, it was being initialised earlier. As a result, gBrowserInit.uriToLoadPromise would return a promise rather than a URI, which means this piece of code is triggered. The result is that it causes the first browser to be loaded as a web content process, and we then have to later change to the privileged about process.
Changing that to load the browser as PRIVILEGEDABOUT_REMOTE_TYPE does not appear to hurt session restore performance (the improvements remain), but also fixes the startup_about_home_* regressions. This makes sense as it is restoring the status-quo.
Whilst we could await on the promise, that would mean that gBrowser.selectedBrowser might not always exist - which would potentially break a lot of code.
| Assignee | ||
Comment 1•4 years ago
|
||
Comment 3•4 years ago
|
||
Backed for causing both Bug 1735649 and Bug 1735650.
Failure log:
- https://treeherder.mozilla.org/logviewer?job_id=354691081&repo=autoland
- https://treeherder.mozilla.org/logviewer?job_id=354688323&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/2d35f63eeba72fe7c827c992b7b0ca8f21d57d08
| Assignee | ||
Comment 4•4 years ago
|
||
We've fixed a Marionette test issue, but we can't reproduce the main failure on try server:
https://treeherder.mozilla.org/jobs?repo=try&revision=3d33640229b5066b107d53749e343212c06c758a
We're going to try landing again and see what happens. It could have been a conflict with another patch that had landed or something like that.
Comment 6•4 years ago
|
||
| bugherder | ||
Comment 7•4 years ago
|
||
== Change summary for alert #31952 (as of Tue, 19 Oct 2021 06:06:21 GMT) ==
Improvements:
| Ratio | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|
| 7% | JS | windows10-64-2004-shippable-qr | tp6 | 261,403,577.71 -> 242,255,369.97 |
| 6% | Explicit Memory | windows10-64-2004-shippable-qr | tp6 | 672,551,393.30 -> 631,045,730.28 |
| 6% | Resident Memory | windows10-64-2004-shippable-qr | tp6 | 897,387,752.06 -> 847,368,710.55 |
| 5% | Resident Memory | windows10-64-2004-shippable-qr | tp6 | 903,676,210.53 -> 856,928,896.44 |
For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=31952
Description
•