https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 304d5d487eda2ce794f9ce366a279787d239a2eb authored by Simon Pieters on 24 August 2018, 09:32:45 UTC
HTML: Add margins to reference for fieldset translateZ test
Tip revision: 304d5d4
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