Watch expressions don't update on navigations
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(firefox112 fixed)
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file, 1 obsolete file)
STR:
- add
window.location
watch expression - navigate to another URL
The expression doesn't update.
Assignee | ||
Comment 1•3 years ago
|
||
We weren't trying to update the expression around any event related to navigation/reload!
I chose to update them with the latest possible event. navigate/DOCUMENT_EVENT's dom-complete,
which is equivalent to the "load" event.
If we want to update it earlier... we should probably update it more than once per navigation.
Also, I'm tweaking navigateTo test helper to ensure waiting for debugger's reloaded event.
It ensure that all navigate test helper will only resume after the navigated action resolves.
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
This can lead to various issues as we were getting two sets of DOCUMENT_EVENT's when reloading an add-on.
Hopefully, this will be simplier to handle once we move WebExtension to EFT
and WindowGlobalTarget will be unique per document and their instantiation is solely
controlled by the watcher codebase.
We might still have to be careful to ignore this spurious about:blank document.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Comment on attachment 9314441 [details]
Bug 1814613 - [devtools] Avoid firing DOCUMENT_EVENT for previous background page when reloading an add-on.
Revision D168045 was moved to bug 1814613. Setting attachment 9314441 [details] to obsolete.
Comment 5•3 years ago
|
||
Backed out 4 changesets (Bug 1814607, Bug 1814608, Bug 1809168) for causing devtools failures CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=406913328&repo=autoland&lineNumber=2297
https://treeherder.mozilla.org/logviewer?job_id=406914933&repo=autoland&lineNumber=2673
Backout: https://hg.mozilla.org/integration/autoland/rev/219bc96600a47cd4b95ac71b0b378db961481b33
Comment 7•3 years ago
|
||
bugherder |
Assignee | ||
Updated•1 year ago
|
Description
•