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-Secure-url-with-space.any.js
// META: script=websocket.sub.js

test(function() {
  var wsocket;
  var spaceUrl = "web platform.test";
  assert_throws("SYNTAX_ERR", function() {
    wsocket = CreateWebSocketWithSpaceInUrl(spaceUrl)
  });
}, "W3C WebSocket API - Create Secure WebSocket - Pass a URL with a space - SYNTAX_ERR should be thrown")
back to top