tor-browser

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

websocket3.worker.js (661B)


      1 /* exported tests */
      2 
      3 importScripts("websocket_helpers.js");
      4 importScripts("websocket_tests.js");
      5 importScripts("websocket_worker_helpers.js");
      6 
      7 var tests = [
      8  test24, // server rejects sub-protocol string
      9  test25, // ctor with valid empty sub-protocol array
     10  test26, // ctor with invalid sub-protocol array containing 1 empty element
     11  test27, // ctor with invalid sub-protocol array containing an empty element in
     12  // list
     13  test28, // ctor using valid 1 element sub-protocol array
     14  test29, // ctor using all valid 5 element sub-protocol array
     15  test30, // ctor using valid 1 element sub-protocol array with element server
     16  // will reject
     17 ];
     18 
     19 doTest();