Closed Bug 1655964 Opened 5 years ago Closed 4 years ago

Move nsIDocShell::allowJavascript to BrowsingContext

Categories

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

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1646560
Fission Milestone MVP

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

+++ This bug was initially created as a clone of Bug #1655959 +++

This attribute is used by DevTools and is expected to be also applied to remoted Fission iframe.
By setting this attribute on nsIDocShell, we don't ensure applying it to remote iframe, which spawn another nsIDocShell in their distinct process.
The typical way to fix that is to move such attribute up to BrowsingContext class.
You can take example on bug 1593708, which moved inRDMPanel from PresShell up to BrowsingContext. Or bug 1620966, which moved watchedByDevTools from DocShell up to BrowsingContext.

I imagine that it may also fix non-devtools usecase if this attribute is toggled outside of DevTools.
See bug 1591120 for extensive context.

No longer depends on: 1655959
Component: Layout → DOM: Navigation

Tracking dt-fission-m2-reserve bugs for Fission Beta milestone (M7).

Fission Milestone: --- → M7
See Also: → 1646560

Bulk move of all dt-fission-m2-reserve bugs to Fission MVP milestone.

Fission Milestone: M7 → MVP
Severity: -- → N/A
Priority: -- → P3

Moving old "dt-fission-m2-reserve" bugs to "dt-fission-future" because they don't block Fission MVP.

Fission Milestone: MVP → Future
Whiteboard: dt-fission-m2-reserve → dt-fission-future

Keeping this in Fission MVP. dt-fission-future is a backlog of all devtools untriaged fission bugs.

Fission Milestone: Future → MVP

dt-fission-future bugs don't need to block Fission MVP, so I'm moving them from Fission Milestone MVP to Future.

Sending this to dt triage to ensure this gets re-reviewed for appropriate milestone.

Whiteboard: dt-fission-future → dt-fission-m3-triage
Whiteboard: dt-fission-m3-triage

kmag fixed this bug 1646560.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.