Remove nsDocShell::GetIsOnlyToplevelInTabGroup
Categories
(Core :: DOM: Navigation, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: farre, Assigned: farre)
References
Details
Attachments
(1 file)
We're trying to remove TabGroup, and with BrowsingContext we can compute if a browsing context is the only top level browsing context (auxiliary or otherwise).
Assignee | ||
Comment 1•6 years ago
|
||
Nika, do you know which tests that would exercise Large-Allocation? It's the only thing affected by this.
Assignee | ||
Comment 2•6 years ago
|
||
We can remove isOnlyToplevelInTabGroup entirely since we have
BrowsingContext/BrowsingContextGroup exposed through
chrome-webidl. Checking if a browsing context is the only top level
(auxilliary or otherwise) is only a matter of checking that there
isn't a parent, and that the size of the browsing context group is 1.
Comment 3•6 years ago
|
||
The following are all of the tests for it. Don't worry about the _win32
one, as it's effectively the _non_win32
one except without the force-enable pref, and only run on 32-bit windows.
largeAllocation is also probably super broken with fission enabled. It will need to be rewritten for fission at some point.
- https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/dom/tests/browser/browser_allocateGigabyte.js
- https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/dom/tests/browser/browser_largeAllocation_non_win32.js
- https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/dom/tests/browser/browser_largeAllocation_win32.js
- https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/dom/security/test/csp/test_reloadInFreshProcess.html
- https://searchfox.org/mozilla-central/rev/7531325c8660cfa61bf71725f83501028178cbb9/dom/tests/browser/test_largeAllocation.html
Comment 7•6 years ago
|
||
I had to backout this due to related file used in Bug 1575051.
Backout: https://hg.mozilla.org/integration/autoland/rev/da9b99b612612970527222d0285ed4f729b5e0e4
Updated•6 years ago
|
Comment 8•6 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:farre, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 10•6 years ago
|
||
bugherder |
Description
•