Re: Forgot to prefix some names....

On Oct 4, 2012, at 14:04 , Anant Narayanan <anant@mozilla.com> wrote:

> 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
> 

+1

Received on Tuesday, 9 October 2012 14:52:51 UTC