https://github.com/web-platform-tests/wpt
Revision 433d39e107e2f257dd97236d2ffa4f39a3739acf authored by Emilio Cobos Álvarez on 11 April 2018, 12:29:23 UTC, committed by Emilio Cobos Álvarez on 13 April 2018, 20:20:18 UTC
getComputedStyle returns styles in the node's document per the resolution in
https://github.com/w3c/csswg-drafts/issues/1548.
1 parent dc670d8
Raw File
Tip revision: 433d39e107e2f257dd97236d2ffa4f39a3739acf authored by Emilio Cobos Álvarez on 11 April 2018, 12:29:23 UTC
[cssom] Remove comment that now is invalid per CSSWG resolution.
Tip revision: 433d39e
Create-asciiSep-protocol-string.htm
<!DOCTYPE html>
<html>
<head>
    <title>W3C WebSocket API - Create WebSocket - ascii protocol string with separator</title>
    <script type="text/javascript" src="/resources/testharness.js"></script>
    <script type="text/javascript" src="/resources/testharnessreport.js"></script>
    <script type="text/javascript" src="websocket.sub.js"></script>
</head>
<body>
    <div id="log"></div>
    <script type="text/javascript">
        if(window.WebSocket) {
            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")
        }
    </script>
</body>
</html>
back to top