[Bug 22428] Please unify the WebSocket and RTCDataChannel "readyState". enum RTCDataChannelState { "connecting", "open", "closing", "closed" }; VS const unsigned short CONNECTING = 0 [...]

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22428

Adam Bergkvist <adam.bergkvist@ericsson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adam.bergkvist@ericsson.com

--- Comment #3 from Adam Bergkvist <adam.bergkvist@ericsson.com> ---
This thread contains the discussion that lead to us using strings instead of
numeric constants:

http://lists.w3.org/Archives/Public/public-webrtc/2012Feb/0119.html

It's a bit of a tricky situation. DataChannel is a new API and should therefore
use the latest conventions, but at the same time we're modeling it after an
existing API and want to make it easy to switch between the two for different
transport needs.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Wednesday, 3 July 2013 05:44:39 UTC