summaryrefslogtreecommitdiffstats
path: root/browser/components/preferences/tests/browser_privacypane_3.js
blob: e88a6059eb1e87c7aa18681980a58099cd9b64e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
let rootDir = getRootDirectory(gTestPath);
let jar = getJar(rootDir);
if (jar) {
  let tmpdir = extractJarToTmp(jar);
  rootDir = "file://" + tmpdir.path + "/";
}
/* import-globals-from privacypane_tests_perwindow.js */
Services.scriptloader.loadSubScript(
  rootDir + "privacypane_tests_perwindow.js",
  this
);

run_test_subset([
  test_custom_retention("rememberHistory", "remember"),
  test_custom_retention("rememberHistory", "custom"),
  test_custom_retention("rememberForms", "custom"),
  test_custom_retention("rememberForms", "custom"),
  test_historymode_retention("remember", "custom"),
  test_custom_retention("alwaysClear", "remember"),
  test_custom_retention("alwaysClear", "custom"),
]);