tor-browser

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

Create-protocols-repeated-case-insensitive.any.js (405B)


      1 // META: script=constants.sub.js
      2 // META: variant=?default
      3 // META: variant=?wss
      4 // META: variant=?wpt_flags=h2
      5 
      6 test(function() {
      7  var wsocket;
      8  assert_throws_dom("SYNTAX_ERR", function() {
      9    wsocket = CreateWebSocketWithRepeatedProtocolsCaseInsensitive()
     10  });
     11 }, "Create WebSocket - Pass a valid URL and an array of protocol strings with repeated values but different case - SYNTAX_ERR is thrown")