Open Bug 1499730 Opened 7 years ago Updated 3 years ago

Dispatch a "TabAdopted" event when a tab is adopted in to a different window

Categories

(Firefox :: Tabbed Browser, enhancement, P5)

enhancement

Tracking

()

Tracking Status
firefox64 --- affected

People

(Reporter: jaws, Unassigned)

References

Details

When multiple tabs are moved to a new window, we currently wait for the EndSwapDocShells event before moving the remaining tabs. This mostly works, except for cases where a tab doesn't have a docshell. This occurs for pending (unrestored) tabs. In this case, we wait for the TabClose event before moving the remaining tabs. We could dispatch a more generic "TabAdopted" event which will allow us to remove a special case inside of replaceTabsWithWindow().
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.