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")