<?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>25840</bug_id>
          
          <creation_ts>2014-05-20 21:21:44 +0000</creation_ts>
          <short_desc>Creating DataChannel with same label.</short_desc>
          <delta_ts>2014-06-09 08:41:39 +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>All</rep_platform>
          <op_sys>All</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="Kiran">kiran.guduru</reporter>
          <assigned_to name="Web RTC Working Group">public-webrtc</assigned_to>
          <cc>adam.bergkvist</cc>
    
    <cc>public-webrtc</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106517</commentid>
    <comment_count>0</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-05-20 21:21:44 +0000</bug_when>
    <thetext>This check is missing.

Proposed Resolution
•Fire a ResourceInUseError.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106562</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-05-21 13:42:07 +0000</bug_when>
    <thetext>The app is allowed to do this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106617</commentid>
    <comment_count>2</comment_count>
    <who name="Kiran">kiran.guduru</who>
    <bug_when>2014-05-21 20:25:14 +0000</bug_when>
    <thetext>This bug has been re-opened for tracking 

While discussing interoperability issues in interim meeting, it has been pointed that spec should be updated to clarify that label is not unique.


19:19:05 [stefanh]
First: Data channel label uniqeuness
19:19:32 [stefanh]
prop: update the spec to say do not have to be unique

I suggest to add a note specifying &quot;Multiple channels may contain same label&quot;.

or 

add a line after explanation

The RTCDataChannel.label attribute represents a label that can be used to distinguish this RTCDataChannel object from other RTCDataChannel objects. The attribute MUST return the value to which it was set when the RTCDataChannel object was created.
 &quot;JS applications are allowed to create multiple channels with same label&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107511</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-06-09 08:41:39 +0000</bug_when>
    <thetext>Proposed fix: https://github.com/fluffy/webrtc-w3c/commit/6076fe5f3cd4ad48085097aed17c39abf4b73533

Closing bug. Reopen again if necessary.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>