browser_privacypane_2_srd.js (511B)
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 add_setup(async function () { 14 await SpecialPowers.pushPrefEnv({ 15 set: [["browser.settings-redesign.history2.enabled", true]], 16 }); 17 }); 18 19 run_test_subset([test_dependent_elements_redesigned]);