On Fri, Jun 26, 2009 at 9:18 AM, James Robinson <jam...@google.com> wrote:
> However, users can't usefully check the readyState to see if the WebSocket > is still open because there are not and cannot be any > synchronization guarantees about when the WebSocket may close. > > Is this true? Based on our prior discussion surrounding cookies, it seems like as a general rule we try to keep state from changing dynamically while JS code is executing for exactly these reasons.