summaryrefslogtreecommitdiffstats
path: root/dom/base/test/jsmodules/module_testSyntax.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/jsmodules/module_testSyntax.js')
-rw-r--r--dom/base/test/jsmodules/module_testSyntax.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/base/test/jsmodules/module_testSyntax.js b/dom/base/test/jsmodules/module_testSyntax.js
new file mode 100644
index 0000000000..3d647ae0b4
--- /dev/null
+++ b/dom/base/test/jsmodules/module_testSyntax.js
@@ -0,0 +1,3 @@
+// Module that throws a syntax error if parsed as a script.
+export default 1;
+wasRun = true;