Closed
Bug 1520772
Opened 7 years ago
Closed 7 years ago
Construct the WebExtension target front before instantiating the Target object
Categories
(DevTools :: Framework, enhancement, P2)
DevTools
Framework
Tracking
(firefox66 fixed)
RESOLVED
FIXED
Firefox 66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
(Whiteboard: dt-fission)
Attachments
(1 file)
For now, the Web Extension target actor was constructed late, from Target.attach.
So that we were instantiating the Target class with a front which wasn't a target front until we call Target.attach that will replace the activeTab with the final, real web exntension target front.
This is bad as we assume that activeTab is the target front, and that prevent us from merging target front and target classes.
So we should make it so that this code in attach is executed before instantiating the Target object.
Assignee | ||
Comment 1•7 years ago
|
||
Depends on D15828
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/11325875967a
Construct the WebExtension target front before instantiating the Target object. r=yulia
Comment 3•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
You need to log in
before you can comment on or make changes to this bug.
Description
•