https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 0c61d8d031ae0183c8682306851fb778af6df825 authored by Brian Burg on 16 July 2018, 23:05:19 UTC
webdriver: fix expected key code for "Unidentified" keys
Tip revision: 0c61d8d
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)
  });
}, "Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown")
back to top