gecko-dev/toolkit/identity/tests/unit/test_load_modules.js
Tooru Fujisawa 65e2703499 Bug 1217082 - Remove for-each from toolkit/. r=Gijs
--HG--
extra : commitid : Ewr7Bixammr
extra : rebase_source : 91e560a7b8b8d4b78debb1db2512867262b18375
2015-10-19 04:57:14 +09:00

20 lines
545 B
JavaScript

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
const modules = [
"Identity.jsm",
"IdentityProvider.jsm",
"IdentityStore.jsm",
"jwcrypto.jsm",
"RelyingParty.jsm",
"Sandbox.jsm",
];
function run_test() {
for (let m of modules) {
let resource = "resource://gre/modules/identity/" + m;
Components.utils.import(resource, {});
do_print("loaded " + resource);
}
}