Rename DevTools "custom" host to "browsertoolbox" host
Categories
(DevTools :: Framework, task, P3)
Tracking
(firefox74 fixed)
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
Attachments
(4 files)
From a discussion in the review of Bug 1603361:
https://phabricator.services.mozilla.com/D56989#inline-348984
We currently support a "custom" host in DevTools. In production code, this is only used when creating a Browser Toolbox. https://searchfox.org/mozilla-central/source/devtools/client/framework/browser-toolbox/window.js#198
We can rename this host to "browsertoolbox", and thanks to that:
- add a isBrowserToolbox getter on toolbox that simply checks the host type
- move some of the complexity handed in browser-toolbox/window.js to the host
https://searchfox.org/mozilla-central/source/devtools/client/framework/browser-toolbox/window.js
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Only renaming methods/variables/files here.
Assignee | ||
Comment 2•6 years ago
|
||
Depends on D58235. Move browsertoolbox host logic directly to browsertoolbox host
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D58236
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D58237
Try at https://treeherder.mozilla.org/#/jobs?repo=try&revision=5eabbe90d1384eaafeb37dd9038e52e8973fc60a
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b5d7f11748dd
https://hg.mozilla.org/mozilla-central/rev/27f73ed7222f
https://hg.mozilla.org/mozilla-central/rev/c7f8433f168f
https://hg.mozilla.org/mozilla-central/rev/ad5d17f68cde
Description
•