This flag was only used by the allocation tracker test and we can now rely on the
DevTools global spawn by mozJSModuleLoader.
Differential Revision: https://phabricator.services.mozilla.com/D253049
This is required as Object Inspector has to be loaded via a document scope
for its ChromeUtils.importESModule + global="current" to be functional.
Differential Revision: https://phabricator.services.mozilla.com/D237739
Land ES Modules for all React modules.
Also tweak the Browser Loader to force loading react loaded via require() to use the ES Modules.
This helps ensure these modules are loaded only once and always as a ES Module.
Otherwise require() statements from debugger frontend and import from Reps may load
distinct instances.
Differential Revision: https://phabricator.services.mozilla.com/D228995
These modules are already loaded by the Debugger frontend via the browser loader
instantiated in /index.js and we were loading a copy in the shared global loader.
This also helps the esm-ification of Reps as it ensures loading
all debugger modules in the debugger document global.
Reps modules are expected to be loaded with a document as global scope.
Differential Revision: https://phabricator.services.mozilla.com/D237738