2 // Run test script in content process instead of chrome (xpcshell's default)
5 registerCleanupFunction(async () => {
6 Services.prefs.clearUserPref("network.http.http3.priority");
7 Services.prefs.clearUserPref("network.http.priority_header.enabled");
11 // setup will be called before the child process tests
12 add_task(async function setup() {
13 await http3_setup_tests("h3-29");
16 async function run_test() {
17 // test priority urgency and incremental with priority enabled
18 Services.prefs.setBoolPref("network.http.http3.priority", true);
19 Services.prefs.setBoolPref("network.http.priority_header.enabled", true);
20 run_test_in_child("../unit/test_http3_prio_enabled.js");
21 run_next_test(); // only pumps next async task from this file