gecko-dev/devtools/shared/heapsnapshot
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 Bug 1789201 - [devtools] Expose Services as a global to all DevTools modules. r=perftest-reviewers,nchevobbe,julienw,AlexandruIonescu 2022-09-09 07:22:51 +00:00
.gitattributes
AutoMemMap.cpp
AutoMemMap.h
CensusUtils.js
CoreDump.pb.cc
CoreDump.pb.h Bug 1790929 - Update protobuf to version 21.6. r=markh 2022-09-15 01:33:24 +00:00
CoreDump.proto
DeserializedNode.cpp
DeserializedNode.h
DominatorTree.cpp
DominatorTree.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
DominatorTreeNode.js Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for devtools. r=jdescottes 2022-08-26 13:39:34 +00:00
FileDescriptorOutputStream.cpp
FileDescriptorOutputStream.h
HeapAnalysesClient.js
HeapAnalysesWorker.js Bug 1786197 - Turn on ESLint rule for prefer-boolean-length-check for devtools. r=jdescottes 2022-08-26 13:39:34 +00:00
HeapSnapshot.cpp
HeapSnapshot.h Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
HeapSnapshotFileUtils.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
HeapSnapshotTempFileHelperChild.h
HeapSnapshotTempFileHelperParent.cpp
HeapSnapshotTempFileHelperParent.h
PHeapSnapshotTempFileHelper.ipdl
ZeroCopyNSIOutputStream.cpp
ZeroCopyNSIOutputStream.h
census-tree-node.js
generate-core-dump-sources.sh
moz.build
shortest-paths.js