Open Bug 1421709 Opened 3 years ago Updated 2 years ago

Investigate other possible uses for WindowTracker.topNormalWindow on desktop

Categories

(WebExtensions :: Frontend, enhancement, P5)

58 Branch
x86_64
Linux
enhancement

Tracking

(Not tracked)

People

(Reporter: bsilverberg, Unassigned)

References

(Blocks 1 open bug)

Details

Bug 1415913 introduced a topNormalWindow property to WindowTracker on desktop, which returns the topmost window that is not a popup. This was used to enhance tabs.create when no windowId is passed, but there may be other places where we are currently using topWindow that could benefit from being changed to topNormalWindow.

This bug is to identify those cases and replace topWindow with topNormalWindow.
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.