Open Bug 1597443 Opened 2 months ago Updated 2 months ago

Fix uses of UpdateDocShellOrientationLock in dom/base/nsScreen.cpp


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




Fission Milestone M6


(Reporter: djvj, Unassigned)


(Blocks 1 open bug)


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

In file dom/base/nsScreen.cpp

Uses DocShellTree to get same-type root of DocShell associated with incoming window.

  • Calls “SetOrientationLock” on the root docshell.

Called from Screen::mozLockOrientation web API

Root can be out-of-process.

Low-frequency event that is coarse grained and not that performance sensitive.

Convert to BrowsingContext to traverse ancestors.

  • If tree goes out of process, use IPC to forward SetOrientationLock to correct process.

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.