Sign in
webkit
/
WebKit
/
c27e52ec2eefea39423e8eef58df2aebc1b5417d
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
websockets
/
Create-non-absolute-url.any.js
blob: 9ac9707209f9b9bc6a22ea1637783c0aed8f2222 [
file
] [
log
] [
blame
]
// META: script=websocket.sub.js
test
(
function
()
{
var
wsocket
;
assert_throws
(
"SYNTAX_ERR"
,
function
()
{
wsocket
=
CreateWebSocketNonAbsolute
()
});
},
"Create WebSocket - Pass a non absolute URL - SYNTAX_ERR is thrown"
)