summaryrefslogtreecommitdiffstats
path: root/browser/components/preferences/in-content/tests/browser_privacypane_3.js
blob: 8fe6f0825efd7e6bd4b8a75472ca961b1d9cd9e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let loader = Cc["@mozilla.org/moz/jssubscript-loader;1"].
             getService(Ci.mozIJSSubScriptLoader);
let rootDir = getRootDirectory(gTestPath);
let jar = getJar(rootDir);
if (jar) {
  let tmpdir = extractJarToTmp(jar);
  rootDir = "file://" + tmpdir.path + '/';
}
loader.loadSubScript(rootDir + "privacypane_tests_perwindow.js", this);

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