<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19587</bug_id>
          
          <creation_ts>2012-10-18 03:31:12 +0000</creation_ts>
          <short_desc>change &quot;DataChannelEvent&quot; to &quot;RTCDataChannelEvent&quot;</short_desc>
          <delta_ts>2012-10-25 00:29:25 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>WebRTC API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yang Sun">eric.sun</reporter>
          <assigned_to name="Web RTC Working Group">public-webrtc</assigned_to>
          <cc>fluffy</cc>
    
    <cc>public-webrtc</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76550</commentid>
    <comment_count>0</comment_count>
    <who name="Yang Sun">eric.sun</who>
    <bug_when>2012-10-18 03:31:12 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77058</commentid>
    <comment_count>1</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2012-10-24 19:20:53 +0000</bug_when>
    <thetext>has this been fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77074</commentid>
    <comment_count>2</comment_count>
    <who name="Yang Sun">eric.sun</who>
    <bug_when>2012-10-25 00:29:25 +0000</bug_when>
    <thetext>Yes, from latest specification,
we can see, this bug has been fixed.
thanks

(In reply to comment #1)
&gt; has this been fixed?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>