tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

head.js (382B)


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