summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/non_shared_nest_import_non_shared_1.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/tests/unit/non_shared_nest_import_non_shared_1.mjs')
-rw-r--r--js/xpconnect/tests/unit/non_shared_nest_import_non_shared_1.mjs7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/xpconnect/tests/unit/non_shared_nest_import_non_shared_1.mjs b/js/xpconnect/tests/unit/non_shared_nest_import_non_shared_1.mjs
new file mode 100644
index 0000000000..ea78e9f881
--- /dev/null
+++ b/js/xpconnect/tests/unit/non_shared_nest_import_non_shared_1.mjs
@@ -0,0 +1,7 @@
+const { func2 } = ChromeUtils.importESModule("resource://test/non_shared_nest_import_non_shared_target_1.mjs", {
+ global: "current",
+});
+
+export function func() {
+ return func2();
+}