diff options
Diffstat (limited to 'devtools/shared/layout/utils.js')
-rw-r--r-- | devtools/shared/layout/utils.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/devtools/shared/layout/utils.js b/devtools/shared/layout/utils.js index ebd2353414..84981081b3 100644 --- a/devtools/shared/layout/utils.js +++ b/devtools/shared/layout/utils.js @@ -10,9 +10,13 @@ loader.lazyRequireGetter( "resource://devtools/shared/DevToolsUtils.js" ); const lazy = {}; -ChromeUtils.defineESModuleGetters(lazy, { - NetUtil: "resource://gre/modules/NetUtil.sys.mjs", -}); +ChromeUtils.defineESModuleGetters( + lazy, + { + NetUtil: "resource://gre/modules/NetUtil.sys.mjs", + }, + { global: "contextual" } +); const SHEET_TYPE = { agent: "AGENT_SHEET", |