Closed Bug 1814613 Opened 1 year ago Closed 1 year ago

Avoid firing DOCUMENT_EVENT for previous background page when reloading an add-on

Categories

(DevTools :: Framework, task)

task

Tracking

(firefox111 fixed)

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

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.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ba79613c14b7
[devtools] Avoid firing DOCUMENT_EVENT for previous background page when reloading an add-on. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Regressions: 1828026
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: