Open Bug 1597474 Opened 2 months ago Updated 1 month ago

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


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




Fission Milestone M6


(Reporter: djvj, Unassigned)


(Blocks 1 open bug)


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

In file layout/base/nsDocumentViewer.cpp

Helper method to call a closure on all docshell tree children.

Used by various methods:

  • Setting force/hint charsets.
  • Pausing painting.
  • Etc.

Change to using BrowsingContext.

Callers of each of these will need to be fixed to make sure that they deal with the fact that only in-process children will be seen. Audit of callers needs to ensure one of two conditions:

  • Caller directly handles out-of-process children.
  • Caller skips out-of-process children and the indirect callers of that code is modified to dispatch a call to the same method across the various relevant content processes.

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.