On Tue, Oct 27, 2009 at 01:17, Ian Hickson i...@hixie.ch wrote:
The connection might get closed at any point, e.g. between the script
checking if the connection might be closed and the script calling the
send() method. Because of this, if we raised an exception when the
connection was
On Sun, 25 Oct 2009, Avi Flax wrote:
Just one thing struck me as odd: calling send(data) on a WebSocket
whose readyState is CONNECTING raises an INVALID_STATE_ERR exception,
but calling send(data) on a WebSocket whose readyState is CLOSED does
not raise an exception; it merely returns