gecko-dev/devtools/shared/worker
Alexandre Poirot 8c0ef6b298 Bug 1789980 - [devtools] Migrate all callsites using require("chrome") to use Components.* global symbols. r=jdescottes,perftest-reviewers,AlexandruIonescu
This will help transition to ES Modules as we won't be able to expose a magic "chrome" ESM.
Also, most of these symbols are exposed as global already.
All but:
* `components` which is `Components`,
* `CC` which is `Components.Constructor`,
* `Cm` which is `Components.manager`.

$ sed -ie "/require(.chrome.)/d" $(git grep -l 'require("chrome")' devtools/)
+ manual edits for all three exceptions

Differential Revision: https://phabricator.services.mozilla.com/D156936
2022-09-20 12:52:27 +00:00
..
tests/browser Bug 1668219 - [devtools] Remove widgets only used on old perf panel. r=bomsy. 2022-05-06 17:16:27 +00:00
helper.js Bug 1330099 - Enable object-shorthand eslint rule. r=jdescottes 2022-08-03 14:57:05 +00:00
moz.build Bug 1741369 - [devtools] Move all loader-related files to devtools/shared/loader r=ochameau 2021-11-17 12:43:26 +00:00
worker.js Bug 1789980 - [devtools] Migrate all callsites using require("chrome") to use Components.* global symbols. r=jdescottes,perftest-reviewers,AlexandruIonescu 2022-09-20 12:52:27 +00:00