forked from mirrors/gecko-dev
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			696 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			696 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| //
 | |
| // Run test script in content process instead of chrome (xpcshell's default)
 | |
| //
 | |
| 
 | |
| registerCleanupFunction(async () => {
 | |
|   Services.prefs.clearUserPref("network.ssl_tokens_cache_enabled");
 | |
|   Services.prefs.clearUserPref("network.http.http3.priority");
 | |
|   http3_clear_prefs();
 | |
| });
 | |
| 
 | |
| // setup will be called before the child process tests
 | |
| add_task(async function setup() {
 | |
|   await http3_setup_tests("h3-29");
 | |
| });
 | |
| 
 | |
| async function run_test() {
 | |
|   // test priority urgency and incremental with priority enabled
 | |
|   Services.prefs.setBoolPref("network.http.http3.priority", true);
 | |
|   run_test_in_child("../unit/test_http3_prio_enabled.js");
 | |
|   run_next_test(); // only pumps next async task from this file
 | |
| }
 | 
