Closed Bug 1582716 Opened 6 years ago Closed 6 years ago

Remove nsDocShell::GetIsOnlyToplevelInTabGroup

Categories

(Core :: DOM: Navigation, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla72
Fission Milestone M4
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: nobody → afarre
Blocks: 1561715

Nika, do you know which tests that would exercise Large-Allocation? It's the only thing affected by this.

Type: defect → enhancement
Flags: needinfo?(nika)

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.

Pushed by afarre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/db132849d960 Remove nsDocShell::GetIsOnlyToplevelInTabGroup. r=nika
Backout by shindli@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/470b29c571d7 Backed out changeset db132849d960 for causing linting failures in /builds/worker/checkouts/gecko/toolkit/modules/E10SUtils.jsm CLOSED TREE
Pushed by afarre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b5aa3ac4483e Remove nsDocShell::GetIsOnlyToplevelInTabGroup. r=nika
Status: NEW → ASSIGNED
Fission Milestone: --- → M4
Priority: -- → P2

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.

Flags: needinfo?(afarre)
Flags: needinfo?(afarre)
Attachment #9094173 - Attachment description: Bug 1582716 - Remove nsDocShell::GetIsOnlyToplevelInTabGroup. → Bug 1582716 - Remove nsDocShell::GetIsOnlyToplevelInTabGroup. r=nika
Pushed by afarre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/894d4b90c37e Remove nsDocShell::GetIsOnlyToplevelInTabGroup. r=nika
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: