summaryrefslogtreecommitdiffstats
path: root/dom/quota/test/xpcshell/telemetry/head.js
blob: 5c36d82ca69dabf9fa00a57ffab35c4cf21d91fa (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);
}