test_http3_proxy.js (931B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 "use strict"; 6 7 /* import-globals-from http3_proxy_common.js */ 8 9 add_setup(async function () { 10 Services.prefs.setIntPref("network.http.speculative-parallel-limit", 20); 11 12 await setup_http3_proxy(); 13 }); 14 15 add_task(test_http_connect); 16 add_task(test_http_connect_auth_failure); 17 add_task(test_http_connect_large_data); 18 add_task(test_http_connect_connection_refused); 19 add_task(test_http_connect_invalid_host); 20 add_task(test_concurrent_http_connect_tunnels); 21 // TODO: Proxy needs to close the stream properly when socket failures occur 22 // add_task(test_http_connect_stream_closure); 23 add_task(test_http_connect_websocket); 24 add_task(test_connect_udp); 25 add_task(test_http_connect_fallback); 26 add_task(test_inner_connection_fallback);