This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19587 - change "DataChannelEvent" to "RTCDataChannelEvent"
Summary: change "DataChannelEvent" to "RTCDataChannelEvent"
Status: RESOLVED FIXED
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Web RTC Working Group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 03:31 UTC by Yang Sun
Modified: 2012-10-25 00:29 UTC (History)
2 users (show)

See Also:


Attachments

Description Yang Sun 2012-10-18 03:31:12 UTC
datachannel is only used by peerconnection, we should add RTC-prefix before datachannelevent to comply with RTCPeerConnectionIceEvent.

As for DataChannel, we keep it untill we decide to change it.

/////////////////////////////////////////////////////////
13.3 RTCDataChannelEvent

The datachannel event use the RTCDataChannelEvent interface.

Firing a datachannel event named e with a DataChannel channel means that an event with the name e, which does not bubble (except where otherwise stated) and is not cancelable (except where otherwise stated), and which uses the RTCDataChannelEvent interface with the channel attribute set to channel, must be created and dispatched at the given target.

[Constructor(DOMString type, RTCDataChannelEventInit eventInitDict)]
interface RTCDataChannelEvent : Event {
    readonly attribute DataChannel channel;
};
dictionary RTCDataChannelEventInit : EventInit {
    DataChannel channel;
};
13.3.1 Attributes

channel of type DataChannel, readonly
The channel attribute represents the DataChannel object associated with the event.

13.3.2 Dictionary RTCDataChannelEventInit Members

channel of type DataChannel
Comment 1 Cullen Jennings 2012-10-24 19:20:53 UTC
has this been fixed?
Comment 2 Yang Sun 2012-10-25 00:29:25 UTC
Yes, from latest specification,
we can see, this bug has been fixed.
thanks

(In reply to comment #1)
> has this been fixed?