summaryrefslogtreecommitdiffstats
path: root/dom/quota/test/xpcshell/head.js
blob: bf9ba22ce3e399cc3b980e2a0ee65182b17d8114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */

// The path to the top level directory.
const depth = "../../../../";

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);
}