mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 02:09:05 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			704 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			704 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
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"),
 | 
						|
]);
 |