Open Bug 1597509 Opened 2 months ago Updated 2 months ago

Fix uses of mozilla::widget::WidgetUtils::DOMWindowToWidget in widget/SharedWidgetUtils.cpp


(Core :: DOM: Navigation, defect, P3)




Fission Milestone M6


(Reporter: djvj, Unassigned)


(Blocks 1 open bug)


(Whiteboard: [rm-docshell-tree-item:simple])

In file widget/SharedWidgetUtils.cpp

Walks up the docshell tree, looking for a window with an associated widget.

A cursory audit of the users seems to indicate that this should only be invoked in either chrome code, or situations where the top-level window is in-process.

Should be fine to change this to using BrowsingContext to walk up the tree, asserting that all items along the way are in-process, and otherwise leaving the logic the same.

Kannan says replacing nsIDocShellTreeItem calls should block enabling Fission in Nightly (M6).

Fission Milestone: --- → M6
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.