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.js3
1 files changed, 3 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 000000000..2c2f9bd55
--- /dev/null
+++ b/testing/mochitest/tests/Harness_sanity/importtesting_chromescript.js
@@ -0,0 +1,3 @@
+addMessageListener("ImportTesting:IsModuleLoaded", function (msg) {
+ sendAsyncMessage("ImportTesting:IsModuleLoadedReply", Components.utils.isModuleLoaded(msg));
+});