tor-browser

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

browser_privacypane_3.js (704B)


      1 let rootDir = getRootDirectory(gTestPath);
      2 let jar = getJar(rootDir);
      3 if (jar) {
      4  let tmpdir = extractJarToTmp(jar);
      5  rootDir = "file://" + tmpdir.path + "/";
      6 }
      7 /* import-globals-from privacypane_tests_perwindow.js */
      8 Services.scriptloader.loadSubScript(
      9  rootDir + "privacypane_tests_perwindow.js",
     10  this
     11 );
     12 
     13 run_test_subset([
     14  test_custom_retention("rememberHistory", "remember"),
     15  test_custom_retention("rememberHistory", "custom"),
     16  test_custom_retention("rememberForms", "custom"),
     17  test_custom_retention("rememberForms", "custom"),
     18  test_historymode_retention("remember", "custom"),
     19  test_custom_retention("alwaysClear", "remember"),
     20  test_custom_retention("alwaysClear", "custom"),
     21 ]);