blob: bba8e7181fc2c93a2b181fc051e9c1b7feb62af6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/**
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
*/
// The path to the top level directory.
const depth = "../../../../../";
const { Services } = ChromeUtils.import("resource://gre/modules/Services.jsm");
loadScript("dom/quota/test/xpcshell/common/head.js");
function loadScript(path) {
let uri = Services.io.newFileURI(do_get_file(depth + path));
Services.scriptloader.loadSubScript(uri.spec);
}
|