summaryrefslogtreecommitdiffstats
path: root/dom/tests/browser/file_module_loaded2.js
diff options
context:
space:
mode:
Diffstat (limited to 'dom/tests/browser/file_module_loaded2.js')
-rw-r--r--dom/tests/browser/file_module_loaded2.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/tests/browser/file_module_loaded2.js b/dom/tests/browser/file_module_loaded2.js
new file mode 100644
index 0000000000..28b26cd16e
--- /dev/null
+++ b/dom/tests/browser/file_module_loaded2.js
@@ -0,0 +1,3 @@
+export default function setBodyText() {
+ document.body.textContent = "scriptLoaded";
+}