diff options
Diffstat (limited to 'devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs')
-rw-r--r-- | devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs b/devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs index 06c33b8891..ad08951c5c 100644 --- a/devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs +++ b/devtools/shared/loader/DistinctSystemPrincipalLoader.sys.mjs @@ -4,12 +4,10 @@ const { DevToolsLoader } = ChromeUtils.importESModule( "resource://devtools/shared/loader/Loader.sys.mjs", - { - // `loadInDevToolsLoader` will import the loader in a special priviledged - // global created for DevTools, which will be reused as the shared global - // to load additional modules for the "DistinctSystemPrincipalLoader". - loadInDevToolsLoader: true, - } + // `global: "devtools"` will import the loader in a special priviledged + // global created for DevTools, which will be reused as the shared global + // to load additional modules for the "DistinctSystemPrincipalLoader". + { global: "devtools" } ); // When debugging system principal resources (JSMs, chrome documents, ...) |