https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 1c0c863e97d7eee37c80f2bcb8e5975b09db92fd authored by Robert Ma on 12 December 2018, 21:42:45 UTC
test!
Tip revision: 1c0c863
Create-protocols-repeated-case-insensitive.any.js
// META: script=websocket.sub.js

test(function() {
  var wsocket;
  assert_throws("SYNTAX_ERR", function() {
    wsocket = CreateWebSocketWithRepeatedProtocolsCaseInsensitive()
  });
}, "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