https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 36857c5f01b941752b8877902dccd8b7b01202be authored by Tooru Fujisawa on 02 October 2018, 08:23:59 UTC
Do not raise error if jstests.py is executed without virtualenv on non-automation.
Tip revision: 36857c5
Create-protocols-repeated-case-insensitive.any.js
// META: script=websocket.sub.js

test(function() {
  var wsocket;
  assert_throws("SYNTAX_ERR", function() {
    wsocket = CreateWebSocketWithRepeatedProtocolsCaseInsensitive()
  });
}, "W3C WebSocket API - Create WebSocket - Pass a valid URL and an array of protocol strings with repeated values but different case - SYNTAX_ERR is thrown")
back to top