summaryrefslogtreecommitdiffstats
path: root/toolkit/components/workerloader/tests/moduleH-module-dot-exports.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/workerloader/tests/moduleH-module-dot-exports.js')
-rw-r--r--toolkit/components/workerloader/tests/moduleH-module-dot-exports.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolkit/components/workerloader/tests/moduleH-module-dot-exports.js b/toolkit/components/workerloader/tests/moduleH-module-dot-exports.js
new file mode 100644
index 000000000..a6b93bbcc
--- /dev/null
+++ b/toolkit/components/workerloader/tests/moduleH-module-dot-exports.js
@@ -0,0 +1,12 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
+// This should be overwritten by module.exports
+exports.key = "wrong value";
+
+module.exports = {
+ key: "value"
+};
+
+// This should also be overwritten by module.exports
+exports.key = "another wrong value";