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