[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 07:11:24 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=87336
Takashi Toyoshima <toyoshim at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
--- Comment #8 from Takashi Toyoshima <toyoshim at chromium.org> 2012-05-28 07:11:24 PST ---
Thank you for your continuous contributions to improve WebSocket implementation.
Behaviors looks OK.
But, I feel this handling should be in SocketStreamHandleBase class.
Currently,
- WebSocket implements WebSocket API related features.
- WebSocketChannel implements WebSocket protocol stack handlings.
- SocketStreamHandle implements abstracted bidirectional communication port.
SocketStreamHandle has a client interface to notify network errors as
SocketStreamHandleClient::didFailSocketStream.
So this kind of error should be handled in SocketStreamHandle
and reported to SocketStreamHandleClient(== WebSocketchannel) via this interface.
--
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