https://github.com/web-platform-tests/wpt
Raw File
Tip revision: aa55daaf59e0a6408467a84104c68b6016067a59 authored by Josh Matthews on 26 September 2018, 15:25:34 UTC
Whitelist duplicate CSS reference tests.
Tip revision: aa55daa
Create-asciiSep-protocol-string.any.js
// META: script=websocket.sub.js

test(function() {
  var asciiWithSep = "/echo";
  var wsocket;
  assert_throws("SYNTAX_ERR", function() {
    wsocket = CreateWebSocketWithAsciiSep(asciiWithSep)
  });
}, "W3C WebSocket API - Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown")
back to top