Open Bug 1597450 Opened 2 months ago Updated 2 months ago

Fix uses of mozilla::dom::ApproverDocOf in dom/media/AutoplayPolicy.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 dom/media/AutoplayPolicy.cpp

Used only by autoplay code.

Returns Document of same-type root (the “approver” doc)

Three users

IPC is likely OK here. Autoplay requests are not frequent. When the same-type-root is in process, we can still use this code, and otherwise use IPC to get the information from the other document.

Change to use BrowsingContext, checking for out-of-process “approver” doc, and if so forwarding to an IPC-call to perform “IsExtensionPage” and “SiteAutoPlayPerm” instead of performing in-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.