Sign in
chromium
/
external
/
w3c
/
web-platform-tests
/
refs/tags/epochs/twelve_hourly/2020-12-02_01H
/
.
/
websockets
/
Create-wrong-scheme.any.js
blob: affe346d6e1caa6347abb165e3774d08ed45bf42 [
file
] [
log
] [
blame
]
// META: script=websocket.sub.js
test
(
function
()
{
var
wsocket
;
assert_throws_dom
(
"SYNTAX_ERR"
,
function
()
{
wsocket
=
CreateWebSocketNonWsScheme
()
});
},
"Create WebSocket - Pass a URL with a non ws/wss scheme - SYNTAX_ERR is thrown"
)