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