Remove workaround for about:blank document from FrameWatchers.jsm
Categories
(DevTools :: Framework, enhancement, P2)
Tracking
(Fission Milestone:MVP, firefox92 fixed)
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
(Whiteboard: dt-fission-m3-mvp)
Attachments
(2 files, 3 obsolete files)
Bug 1593937 introduces a workaround for about:blank documents preloaded in browser elements. If we do create targets for these about:blank loads, we end up with broken targets as these documents loads are specials. We should try to ignore them, especially or figure out why the targets are broken.
Comment 1•4 years ago
|
||
Tracking Fission DevTools bugs for Fission Nightly (M6) milestone
Comment 2•4 years ago
|
||
Tracking dt-fission-m2-mvp bugs for Fission Nightly milestone (M6c)
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Bulk move of all dt-fission-m3-mvp bugs to Fission MVP milestone.
Assignee | ||
Comment 4•3 years ago
|
||
There is now two callsites where we ignore about:blank
documents, and the second became more complex because of print preview:
https://searchfox.org/mozilla-central/rev/dac45cc7020dfddbcc937827810dd11550c07dc3/devtools/server/actors/watcher/target-helpers/utils.js#41-48
https://searchfox.org/mozilla-central/rev/dac45cc7020dfddbcc937827810dd11550c07dc3/devtools/server/connectors/js-window-actor/DevToolsFrameChild.jsm#39-62
Keeping this workaround may prevent us from correctly opening the tools against empty documents. Opening DevTools against about:blank, or inspecting remote iframes loading about:blank. This may become a bigger issue once we want to address bug 1686748.
Removing this workaround break tests (last time I tried), and can probably become a performance issue.
Comment 5•3 years ago
|
||
Moving some dt-fission-m3-mvp bugs from Fission MVP to M7 (blocking Beta experiment).
Comment 6•3 years ago
|
||
Tracking dt-fission-m3-mvp test and infrastructure bugs for Fission M8 (blocking Release experiment).
Comment 7•3 years ago
|
||
Tracking DevTools Post-M8 bugs for Fission MVP milestone. They don't block the Fission Release channel experiment, but we would like them to be completed before we roll out Fission by default.
Assignee | ||
Comment 8•3 years ago
|
||
This ends up being an issue for enabling server side targets (bug 1698891). With this code ignoring about:blank documents, we do break support for debugging tabs opened against about:blank. A few tests break because of that.
Having said that, Nika started investigating removing the transcient about:blank document created when navigating to another process.
That was the one transcient document we tried to workaround.
If this platform work happens, this would probably fix this and we will be able to remove this code.
If this platform tweak doesn't happen soon enough, we would have to either:
- tune the about:blank checks to ignore only the transcient documents,
- generate targets for these transcient document and make it so that the frontend doesn't crash because of multiple target swiches being done in a row.
Assignee | ||
Comment 9•3 years ago
|
||
The check in DevToolsFrameChild was wrong with the browser toolbox codepath.
We don't have any browserId. This wasn't throwing because shouldNotifyWindowGlobal
was rejecting the about:blank documents.
This issue was catched by browser_console_content_object_in_sidebar.js,
which probably only involve about:blank documents.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 10•3 years ago
|
||
This helps create targets in the browser toolbox for tabs loaded directly against about:blank.
Assignee | ||
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 13•3 years ago
|
||
This attribute will be true when the WindowContext is related
to the transient about:blank document created while navigation to another process.
This helps identify this transient document and better identify the actual
to-be-loaded-right-after document.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 14•3 years ago
|
||
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1e05e9f5f957 [devtools] Accept about:blank documents in frame target helpers. r=jdescottes https://hg.mozilla.org/integration/autoland/rev/cdc308875d98 [devtools] Accept final about:blank documents in DevToolsFrameChild. r=jdescottes
Comment 15•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1e05e9f5f957
https://hg.mozilla.org/mozilla-central/rev/cdc308875d98
Description
•