summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/subprocess/test/xpcshell/head.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/modules/subprocess/test/xpcshell/head.js')
-rw-r--r--toolkit/modules/subprocess/test/xpcshell/head.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolkit/modules/subprocess/test/xpcshell/head.js b/toolkit/modules/subprocess/test/xpcshell/head.js
new file mode 100644
index 0000000000..a2b85047d3
--- /dev/null
+++ b/toolkit/modules/subprocess/test/xpcshell/head.js
@@ -0,0 +1,13 @@
+"use strict";
+
+var { XPCOMUtils } = ChromeUtils.importESModule(
+ "resource://gre/modules/XPCOMUtils.sys.mjs"
+);
+const { AppConstants } = ChromeUtils.importESModule(
+ "resource://gre/modules/AppConstants.sys.mjs"
+);
+
+// eslint-disable-next-line no-unused-vars
+ChromeUtils.defineESModuleGetters(this, {
+ Subprocess: "resource://gre/modules/Subprocess.sys.mjs",
+});