Closed
Bug 1495388
Opened 6 years ago
Closed 6 years ago
Make inspector front instantiation async
Categories
(DevTools :: Inspector, enhancement, P2)
DevTools
Inspector
Tracking
(firefox65 fixed)
RESOLVED
FIXED
Firefox 65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: ochameau, Assigned: yulia)
References
Details
(Whiteboard: dt-fission)
Attachments
(3 files, 2 obsolete files)
Toolbox currently handles inspector-related fronts instantiation and destruction:
https://searchfox.org/mozilla-central/source/devtools/client/framework/toolbox.js#2654-2683
https://searchfox.org/mozilla-central/source/devtools/client/framework/toolbox.js#2729-2781
Most of this code should be moved to the front class.
The toolbox should most likely only register its event listener and that's it:
this._selection.on("new-node-front", this._onNewSelectedNodeFront);
if (this.highlighterUtils.isRemoteHighlightable()) {
this.walker.on("highlighter-ready", this._highlighterReady);
this.walker.on("highlighter-hide", this._highlighterHidden);
}
Moving the initialization code to the front will depend on bug 1495387, while still being able to listen for events will depend on bug 1495386.
Reporter | ||
Updated•6 years ago
|
Severity: normal → enhancement
Priority: -- → P2
Summary: Remove inspector-related front speficics out of toolbox class → Remove inspector-related front specifics out of toolbox class
Assignee | ||
Comment 1•6 years ago
|
||
this introduces all of the required methods for destruction directly into the front.
Depends on D8707
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D8707
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D8708
Assignee | ||
Comment 5•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Assignee: nobody → ystartsev
Updated•6 years ago
|
Attachment #9017927 -
Attachment is obsolete: true
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D8992
Updated•6 years ago
|
Attachment #9017899 -
Attachment is obsolete: true
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f6a9327272cb
Make Inspector Front initialization async; r=ochameau
https://hg.mozilla.org/integration/autoland/rev/34be7319a9f0
Fix test failures associated with async inspector initalization; r=ochameau
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f6a9327272cb
https://hg.mozilla.org/mozilla-central/rev/34be7319a9f0
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Updated•6 years ago
|
Whiteboard: dt-fission
Assignee | ||
Comment 9•6 years ago
|
||
reopening for the destructor code.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•6 years ago
|
Blocks: 1503562
Summary: Remove inspector-related front specifics out of toolbox class → Make inspector front instantiation async
Comment 10•6 years ago
|
||
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/78ec5e67a3a6
Simplify Inspector Front destruction; r=ochameau
Comment 11•6 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•