gecko-dev/services/healthreport/tests/xpcshell/test_load_modules.js

21 строка
452 B
JavaScript

/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
const modules = [
"healthreporter.jsm",
"profile.jsm",
"providers.jsm",
];
function run_test() {
for (let m of modules) {
let resource = "resource://gre/modules/services/healthreport/" + m;
Components.utils.import(resource, {});
}
Components.utils.import("resource://gre/modules/HealthReport.jsm", {});
}