From 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:33 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- devtools/shared/system.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'devtools/shared/system.js') diff --git a/devtools/shared/system.js b/devtools/shared/system.js index 1a6988d5b8..2f602a5318 100644 --- a/devtools/shared/system.js +++ b/devtools/shared/system.js @@ -10,9 +10,13 @@ loader.lazyRequireGetter( true ); const lazy = {}; -ChromeUtils.defineESModuleGetters(lazy, { - AppConstants: "resource://gre/modules/AppConstants.sys.mjs", -}); +ChromeUtils.defineESModuleGetters( + lazy, + { + AppConstants: "resource://gre/modules/AppConstants.sys.mjs", + }, + { global: "contextual" } +); loader.lazyGetter(this, "hostname", () => { try { // On some platforms (Linux according to try), this service does not exist and fails. -- cgit v1.2.3