summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/es6module.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/tests/unit/es6module.js')
-rw-r--r--js/xpconnect/tests/unit/es6module.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/xpconnect/tests/unit/es6module.js b/js/xpconnect/tests/unit/es6module.js
new file mode 100644
index 0000000000..a160895a01
--- /dev/null
+++ b/js/xpconnect/tests/unit/es6module.js
@@ -0,0 +1,6 @@
+export let loadCount = 0;
+loadCount++;
+
+export let value = 0;
+import {value as importedValue} from "./es6import.js";
+value = importedValue + 1;