Revision 70e133613ba68282617c33db22e17b05a1f93430 authored by Anne van Kesteren on 15 August 2018, 14:25:47 UTC, committed by Anne van Kesteren on 15 August 2018, 14:25:47 UTC
1 parent 3878b81
Create-wrong-scheme.any.js
// META: script=websocket.sub.js
test(function() {
var wsocket;
assert_throws("SYNTAX_ERR", function() {
wsocket = CreateWebSocketNonWsScheme()
});
}, "W3C WebSocket API - Create WebSocket - Pass a URL with a non ws/wss scheme - SYNTAX_ERR is thrown")
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...