Sign in
webkit
/
WebKit
/
40ded5186f1f304e81fafcd1dd0e4fcd2a308f36
/
.
/
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"
)