Move nsIContentViewer::overrideDPPX to BrowsingContext
Categories
(Core :: DOM: Navigation, enhancement, P3)
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.
Comment 1•4 years ago
•
|
||
Where is it used outside of devtools?
Reporter | ||
Comment 2•4 years ago
|
||
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.
Comment 3•4 years ago
|
||
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.
Comment 4•4 years ago
|
||
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)
Reporter | ||
Comment 5•4 years ago
|
||
Sure, I wasn't sure where to triage such work.
Comment 6•4 years ago
|
||
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
Comment 7•4 years ago
|
||
Tracking dt-fission-m2-reserve bugs for Fission Beta milestone (M7).
Comment 8•4 years ago
|
||
Bulk move of all dt-fission-m2-reserve bugs to Fission MVP milestone.
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Moving old "dt-fission-m2-reserve" bugs to "dt-fission-future" because they don't block Fission MVP.
Description
•