summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_script_module_single.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/file_script_module_single.js')
-rw-r--r--dom/base/test/file_script_module_single.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/base/test/file_script_module_single.js b/dom/base/test/file_script_module_single.js
new file mode 100644
index 0000000000..9a5745f516
--- /dev/null
+++ b/dom/base/test/file_script_module_single.js
@@ -0,0 +1,8 @@
+function baz() {}
+function bar() {}
+function foo() {
+ bar();
+}
+foo();
+
+window.dispatchEvent(new Event("test_evaluated"));