Bug 34967

Summary: Safari calls onclose event handler in close() call.
Product: WebKit Reporter: Fumitoshi Ukai <ukai>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: annevk, ap, joenotcharles
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   

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.