Use DOCUMENT_EVENT's will-navigate event to track navigation in toolbox.js
Categories
(DevTools :: Framework, enhancement)
Tracking
(firefox91 fixed)
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-fission-m3-mvp)
Attachments
(1 file)
Toolbox module is still listening to target actor's will-navigate which doesn't fire when switching between two JSWindowActor based target and so it break with bfcache navigation and server side target switching.
This code:
https://searchfox.org/mozilla-central/source/devtools/client/framework/toolbox.js#701
should instead use DOCUMENT_EVENT will-navigate to track navigation.
Assignee | ||
Comment 1•3 years ago
|
||
This is involved into devtools/client/inspector/test/browser_inspector_select-last-selected.js failure with bfcache in parent (in addition to bug 1710582)
Assignee | ||
Comment 2•3 years ago
|
||
This helps clear various things for all navigations, including the cross process navigation
and navigation with JSWindowActor based targets.
With work from bug 1702511, this also helps clearing at the precise right time.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c0b46be5870b [devtools] Use DOCUMENT_EVENT will-navigate in toolbox. r=nchevobbe,jdescottes
Comment 4•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•