Pass `commands` instead of `descriptorFront` to Toolbox constructor
Categories
(DevTools :: Framework, task)
Tracking
(Fission Milestone:Future, firefox107 fixed)
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 3 open bugs)
Details
Attachments
(5 files)
Now that commands own both DevToolsClient and Descriptor Front, this should be the one object instantiated by gDevTools and passed to the Toolbox.
Bug 1699200 refactored most of the places where we were instantiating a Descriptor Front, but we would need a dedicated work to convert gDevTools and the Toolbox codes.
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Instead we should we querying Toolbox.commands.descriptorFront.
Assignee | ||
Comment 3•3 years ago
|
||
Also move iKnownTab to gDevTools.hasToolboxForTab as it feel more natural.
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Note that this depends on the following patch, in order to destroy commands from the toolbox.
Commands have always been destroying the related client. This was a significant simplification in test.
So that I had to reverse the default value of shouldCloseClient and only toggle it to false
where it is strictly needed. Ideally only for about:debugging toolboxes (and two tests).
Comment 7•3 years ago
|
||
Backed out for failing bc at browser_ext_addon_debugging_netmonitor.js
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&selectedTaskRun=VLciWbvUQS6tMLnkOAFEMw.0&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=9bc3e4820f59f5262d3f5ac6a61e3e03ad5c24df
Failure log: https://treeherder.mozilla.org/logviewer?job_id=391800643&repo=autoland&lineNumber=3064
Backout: https://hg.mozilla.org/integration/autoland/rev/d9b6974f99e62aae50584d4a46290d787111d86d
Comment 9•3 years ago
|
||
Backed out for causing mochitest failures
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | leakcheck | default 4642149 bytes leaked (AbstractWatcher, AnimationTimeline, AsyncFreeSnowWhite, AtomSet, Attr, ...)
Assignee | ||
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2e22436436df
https://hg.mozilla.org/mozilla-central/rev/07a670f05d5c
https://hg.mozilla.org/mozilla-central/rev/725d7c635e8c
https://hg.mozilla.org/mozilla-central/rev/377777880120
https://hg.mozilla.org/mozilla-central/rev/94859d04ddaf
Description
•