summaryrefslogtreecommitdiffstats
path: root/devtools/shared/system.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /devtools/shared/system.js
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/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.