W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2012

Re: Forgot to prefix some names....

From: Anant Narayanan <anant@mozilla.com>
Date: Thu, 04 Oct 2012 14:04:30 -0700
Message-ID: <506DF9DE.7000502@mozilla.com>
To: Harald Alvestrand <harald@alvestrand.no>
CC: "public-webrtc@w3.org" <public-webrtc@w3.org>
On 10/04/2012 04:29 AM, Harald Alvestrand wrote:
> I think we decided some time ago that in order to limit our impact on
> the namespace, we'd prefix our interfaces and data types with "RTC".
>
> It seems that we've mostly done this, but not fully; the following
> interfaces are not prefixed:
>
> - DataChannel interface
> - MediaStreamEvent
> - DataChannelEvent
> - DataChannelState enum
> - DataChannelInit dictionary
> - DataChannelEventInit dictionary
> - MediaStreamEventInit dictionary

Only interfaces that have a global constructor need to be prefixed. 
Currently, that means DataChannelEvent and MediaStreamEvent.

The other constructors defined by the spec are: RTCSessionDescription, 
RTCIceCandidate, RTCPeerConnection, and RTCPeerConnectionIceEvent, which 
are already prefixed.

If there are no objections, I will change the names for DataChannelEvent 
and MediaStreamEvent!

-Anant
Received on Thursday, 4 October 2012 21:05:13 UTC

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