blob: 0b9bfecdc724f10d0c251bf897999e1ffd19bef6 [file] [log] [blame]
// META: script=websocket.sub.js
test(function() {
var wsocket;
assert_throws_dom("SYNTAX_ERR", function() {
wsocket = CreateWebSocketWithRepeatedProtocolsCaseInsensitive()
});
}, "Create WebSocket - Pass a valid URL and an array of protocol strings with repeated values but different case - SYNTAX_ERR is thrown")