summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/module/bug1693261-async.mjs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/src/tests/non262/module/bug1693261-async.mjs7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/src/tests/non262/module/bug1693261-async.mjs b/js/src/tests/non262/module/bug1693261-async.mjs
new file mode 100644
index 0000000000..bc345e0b4c
--- /dev/null
+++ b/js/src/tests/non262/module/bug1693261-async.mjs
@@ -0,0 +1,7 @@
+// |reftest| skip -- support file
+if (globalThis.testArray === undefined) {
+ globalThis.testArray = [];
+}
+globalThis.testArray.push("async 1");
+await 0;
+globalThis.testArray.push("async 2");