Open Bug 1655959 Opened 4 years ago Updated 4 years ago

Move nsIContentViewer::overrideDPPX to BrowsingContext

Categories

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

enhancement

Tracking

()

Fission Milestone Future

People

(Reporter: ochameau, Unassigned)

Details

(Whiteboard: dt-fission-future)

This attribute is used by DevTools and is expected to be also applied to remoted Fission iframe.
By setting this attribute on nsIContentViewer, we don't ensure applying it to remote iframe, which spawn another nsIContentViewer 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.

Blocks: 1655964
No longer blocks: 1655964

Where is it used outside of devtools?

Sorry, I mass opened these bugs. This one attribute is only used by DevTools and RemoteAgent
If the question was meant to triage this to DevTools, I'm totally fine with that.

No not really, sorry, was just curiosity :)

I'm curious about when is this useful, because this is a pretty odd one. It affects media queries and window.devicePixelRatio, but it doesn't affect rendering in any way.

I don't see why nsIContentViewer/nsIDocShell/BrowsingContext bugs should be filed in Core/Layout.
Please move them to a more appropriate component. (DOM/Navigation probably)

Sure, I wasn't sure where to triage such work.

Component: Layout → DOM: Navigation

FYI, the moz.build files usually have a default Bugzilla component for the files in that sub-tree.
https://searchfox.org/mozilla-central/rev/cffd9b5302b6b6f51533d895a785b48ff418aec1/docshell/moz.build#8

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

Fission Milestone: --- → M7

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
You need to log in before you can comment on or make changes to this bug.