Sign in
chromium
/
external
/
w3c
/
web-platform-tests
/
refs/tags/merge_pr_26141
/
.
/
websockets
/
Create-non-absolute-url.any.js
blob: 543ba3731675c6866dbe9f3c4778414fb12c92f2 [
file
] [
log
] [
blame
]
// META: script=websocket.sub.js
test
(
function
()
{
var
wsocket
;
assert_throws_dom
(
"SYNTAX_ERR"
,
function
()
{
wsocket
=
CreateWebSocketNonAbsolute
()
});
},
"Create WebSocket - Pass a non absolute URL - SYNTAX_ERR is thrown"
)