[Webkit-unassigned] [Bug 87336] [WebSocket] WebSocket object should fire error event when WebSocket server can't be connected.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 28 18:46:52 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87336





--- Comment #9 from Li Yin <li.yin at intel.com>  2012-05-28 18:46:51 PST ---
Currently, the didFailSocketStream can't be invoked on chromium, because SocketStreamDispatcherHost didn't implement the vitual function "OnError".
So, both of close message and error message are handled by OnClose function in SocketStreamDispatcherHost.
WebSocketChannel::didCloseSocketStream handled two things, one for normal closing, another for abnomal aborting.

If we want to invaoke the WebSocketChannel::didFailSocketStream function, we must send the IPC message from SocketStreamDispatcherHost when the socket is closed abnormally.

I will have a try to do that.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list