summaryrefslogtreecommitdiffstats
path: root/devtools/shared/system.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /devtools/shared/system.js
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz
firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/shared/system.js')
-rw-r--r--devtools/shared/system.js10
1 files changed, 7 insertions, 3 deletions
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.