RESOLVED CONFIGURATION CHANGED 34967
Safari calls onclose event handler in close() call.
https://bugs.webkit.org/show_bug.cgi?id=34967
Summary Safari calls onclose event handler in close() call.
Fumitoshi Ukai
Reported 2010-02-15 21:59:04 PST
Safai calls onclose event handler in close() call. WebSocket API spec says, the close() must close the Web Socket connection, and closing the connection immediately cause a task to be queued to fire a close event. So, onclose event handler should be fired after javascript code that includes close() method call finished. See https://bugs.webkit.org/show_bug.cgi?id=34636
Attachments
Anne van Kesteren
Comment 1 2023-05-09 05:55:20 PDT
Note You need to log in before you can comment on or make changes to this bug.