Sign in
webkit
/
WebKit
/
c6a7a2f378a60ecad2c606428f6fc0921528b1a6
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
websockets
/
Create-wrong-scheme.any.js
blob: 78ff7394622edfce754d6649d478e547a77e57c5 [
file
] [
log
] [
blame
]
// META: script=websocket.sub.js
test
(
function
()
{
var
wsocket
;
assert_throws
(
"SYNTAX_ERR"
,
function
()
{
wsocket
=
CreateWebSocketNonWsScheme
()
});
},
"Create WebSocket - Pass a URL with a non ws/wss scheme - SYNTAX_ERR is thrown"
)