Open Bug 1597473 Opened 2 months ago Updated 28 days ago

Fix uses of nsDocumentViewer::Show in layout/base/nsDocumentViewer.cpp

Categories

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

defect

Tracking

()

Fission Milestone M6

People

(Reporter: djvj, Unassigned)

References

(Blocks 1 open bug)

Details

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

In file layout/base/nsDocumentViewer.cpp

https://searchfox.org/mozilla-central/rev/6566d92dd46417a2f57e75c515135ebe84c9cef5/layout/base/nsDocumentViewer.cpp#2184

This code is called to maybe clear some cached ContentViewers (in SHistory) when a new viewer is created.

Accesses session-history from root docshell as (nsIWebNagivation).

It’s just cache maintenance code, not that perf sensitive.

Change to using BrowsingContext to traverse to root.

If root is out-of-process, implement appropriate forwarding via async IPC (do not need to wait for response).

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.