summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/Harness_sanity/importtesting_chromescript.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mochitest/tests/Harness_sanity/importtesting_chromescript.js')
-rw-r--r--testing/mochitest/tests/Harness_sanity/importtesting_chromescript.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/mochitest/tests/Harness_sanity/importtesting_chromescript.js b/testing/mochitest/tests/Harness_sanity/importtesting_chromescript.js
new file mode 100644
index 0000000000..d89dd8b47d
--- /dev/null
+++ b/testing/mochitest/tests/Harness_sanity/importtesting_chromescript.js
@@ -0,0 +1,5 @@
+/* eslint-env mozilla/chrome-script */
+
+addMessageListener("ImportTesting:IsModuleLoaded", function (msg) {
+ sendAsyncMessage("ImportTesting:IsModuleLoadedReply", Cu.isModuleLoaded(msg));
+});