summaryrefslogtreecommitdiffstats
path: root/services/crypto/tests/unit/test_load_modules.js
diff options
context:
space:
mode:
Diffstat (limited to 'services/crypto/tests/unit/test_load_modules.js')
-rw-r--r--services/crypto/tests/unit/test_load_modules.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/services/crypto/tests/unit/test_load_modules.js b/services/crypto/tests/unit/test_load_modules.js
new file mode 100644
index 0000000000..8aa47d143e
--- /dev/null
+++ b/services/crypto/tests/unit/test_load_modules.js
@@ -0,0 +1,12 @@
+/* Any copyright is dedicated to the Public Domain.
+ * http://creativecommons.org/publicdomain/zero/1.0/ */
+
+const modules = ["utils.js", "WeaveCrypto.js"];
+
+function run_test() {
+ for (let m of modules) {
+ let resource = "resource://services-crypto/" + m;
+ _("Attempting to import: " + resource);
+ ChromeUtils.import(resource);
+ }
+}