W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2013

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 03 Jul 2013 05:44:38 +0000
To: public-webrtc@w3.org
Message-ID: <bug-22428-4991-qBbfD3HmnC@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:34 UTC