blob: 0bf2ff53bbc8e1fa84fa4b2728c7a3f24cd14ef8 [file] [log] [blame]
// META: script=websocket.sub.js
test(function() {
var wsocket = CreateWebSocket(false, true, false);
assert_equals(wsocket.protocol, "", "protocol should be empty");
wsocket.close();
}, "Create WebSocket - wsocket.protocol should be empty before connection is established")