Open Bug 1597454 Opened 6 years ago Updated 3 years ago

IsImageLoadInEditorAppType uses nsIDocShellTreeItem

Categories

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

defect

Tracking

()

Fission Milestone Future

People

(Reporter: djvj, Unassigned)

References

(Blocks 2 open bugs)

Details

In file dom/security/nsContentSecurityManager.cpp

https://searchfox.org/mozilla-central/rev/2a10f4812f3f7c7645d253a4fe52f26bf58e20e8/dom/security/nsContentSecurityManager.cpp#269

Gets the DocShellTreeItem, retrieves root, and gets the AppType from the root DocShell.

Replicate AppType to BrowsingContext (or a better cross-process replicated structure), and use BrowsingContext to retrieve that instead.

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

Fission Milestone: --- → M6
Priority: -- → P3

Moving to rmrf-docshell-tree-item because AppType is Thunderbird-only. See bug 1587396 comment 5.

Fission Milestone: M6 → Future
Priority: P3 → P5
Summary: Fix uses of IsImageLoadInEditorAppType in dom/security/nsContentSecurityManager.cpp → IsImageLoadInEditorAppType uses nsIDocShellTreeItem
Whiteboard: [rm-docshell-tree-item:simple]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.