[websockets] Reintroducing onerror

This check-in [1] reintroduces the onerror handler that was removed previously [2].
Since, in general, WebSocket protocol errors are fatal and result in onclose, what is
the purpose of adding this back? We have removed onerror from our implementation
since the previous change and it's frustrating trying track against the spec with
unexpected updates.

Thanks,

Adrian.

[1] http://dev.w3.org/cvsweb/html5/websockets/Overview.html.diff?r1=1.221;r2=1.222;f=h
[2] http://dev.w3.org/cvsweb/html5/websockets/Overview.html.diff?r1=1.215;r2=1.216;f=h

Received on Tuesday, 7 June 2011 14:41:30 UTC