https://github.com/web-platform-tests/wpt
Raw File
Tip revision: ab47c2637b5f2b033910a5835d050a135d4cc2b6 authored by Anne van Kesteren on 21 March 2018, 14:23:38 UTC
Make MessagePort's close() detach
Tip revision: ab47c26
Create-protocol-with-space.any.js
// META: script=websocket.sub.js

        test(function () {
            var wsocket;
            assert_throws("SYNTAX_ERR", function () { wsocket = CreateWebSocketWithSpaceInProtocol("ec ho") });
        }, "W3C WebSocket API - Create WebSocket - Pass a valid URL and a protocol string with a space in it - SYNTAX_ERR is thrown")
back to top