tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

test_http3_proxy_no_speculative.js (891B)


      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", 0);
     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_connect_udp);
     24 add_task(test_http_connect_fallback);
     25 add_task(test_inner_connection_fallback);