https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f5bb782c766f17893c02dea2539281efb173f551 authored by Han Leon on 13 May 2018, 12:29:46 UTC
[ServiceWorker] Propagate change for ServiceWorkerRegistration#updateViaCache
Tip revision: f5bb782
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