Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a

This commit is contained in:
WPT Sync Bot 2018-04-30 21:09:29 -04:00
parent 847115ba04
commit 816185f094
272 changed files with 5766 additions and 2855 deletions

View file

@ -1,6 +1,8 @@
// META: script=websocket.sub.js
test(function () {
var wsocket = CreateWebSocket(false, false, false);
assert_throws("INVALID_STATE_ERR", function () { wsocket.send("Message to send") });
}, "W3C WebSocket API - Send data on a WebSocket before connection is opened - INVALID_STATE_ERR is returned")
test(function() {
var wsocket = CreateWebSocket(false, false, false);
assert_throws("INVALID_STATE_ERR", function() {
wsocket.send("Message to send")
});
}, "W3C WebSocket API - Send data on a WebSocket before connection is opened - INVALID_STATE_ERR is returned")