Revision a72a06f7e3d919f8d4f08cb3171291cf6482fd85 authored by Simon Pieters on 08 June 2018, 15:54:45 UTC, committed by Simon Pieters on 08 June 2018, 15:54:45 UTC
Part of https://github.com/whatwg/html/pull/3499. This does not yet test :heading().
1 parent 7684fe3
Send-before-open.any.js
// 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")
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...