Allow the inspection of the initial about:blank
Categories
(DevTools :: Framework, defect, P2)
Tracking
(Not tracked)
People
(Reporter: hsivonen, Unassigned)
References
(Depends on 1 open bug)
Details
Currently, the Inspector deliberately makes the DOM of the initial about:blank uninspectable: https://searchfox.org/mozilla-central/rev/1d861901b6682ef2e191b9f7683eb267bdd131e2/devtools/server/actors/watcher/browsing-context-helpers.jsm#261-284
With bug 543435, the initial about:blank may become longer-lived, which means that it will be easier to get to a state where there's a rendered iframe that shows content that is invisible to the Inspector.
The code that currently makes the initial about:blank uninspectable needs revision to allow the user to expect everything that the user can see rendered post- bug 543435.
(I will provide a test case once bug 543435 is further along. Filing this now to have a bug number on file for intent to prototype.)
Comment 1•3 years ago
|
||
Moving this to framework, as it's not really inspector specific.
Comment 2•3 years ago
|
||
Hi Henri,
Trying to scope a bit the work for DevTools, we should clarify which documents will be impacted by the changes on bug 543435.
The title of the bug mentions iframes, and typically for us it should be easy to relax our checks for iframes. However, if this also impacts top level documents, it might have more impacts on our side, and we would have to plan accordingly. Can you confirm if the change only affects iframes?
I will provide a test case once bug 543435 is further along.
This will be super helpful, thanks!
Reporter | ||
Comment 3•3 years ago
|
||
Bug 543435 will also make it possible for the initial about:blank
to remain rendered after window.open()
, so this isn't limited to iframes.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Keeping the bug in triage, until someone has time to test against devtools to check current breakage. Otherwise it would be great if the blocking bug can land independently and then we can fix DevTools afterwards.
Typical expected breakage: loading a new iframe / window.open on about:blank might no longer be debuggable.
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 5•2 years ago
|
||
This is now fixed in the patch for bug 543435.
Reporter | ||
Comment 6•2 years ago
|
||
Specifically, the inspection of the initial about:blank is enabled if the initial about:blank has been navigated to.
Description
•