tor-browser

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

Create-valid-url-protocol-empty.any.js (354B)


      1 // META: script=constants.sub.js
      2 // META: variant=?default
      3 // META: variant=?wpt_flags=h2
      4 // META: variant=?wss
      5 
      6 test(function() {
      7  var wsocket = CreateWebSocket(true, false);
      8  assert_equals(wsocket.protocol, "", "protocol should be empty");
      9  wsocket.close();
     10 }, "Create WebSocket - wsocket.protocol should be empty before connection is established")