<?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>18516</bug_id>
          
          <creation_ts>2012-08-10 06:23:17 +0000</creation_ts>
          <short_desc>MediaStream should extend EventTarget, not mix it in</short_desc>
          <delta_ts>2012-10-26 10:01:45 +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>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="Dominic Cooney">dominicc</reporter>
          <assigned_to name="Web RTC Working Group">public-webrtc</assigned_to>
          <cc>adam.bergkvist</cc>
    
    <cc>fluffy</cc>
    
    <cc>public-webrtc</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72014</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2012-08-10 06:23:17 +0000</bug_when>
    <thetext>The editor’s draft [1] contains this definition:

MediaStream implements EventTarget;

However recent specs (including, for example: HTML, DOM Core, WebSockets, Web Audio, Battery Status, File Writer, Indexed DB, HTML Media, SVG, XHR, etc. etc. etc.) don’t declare EventTarget as a mixin interface but extend it directly.

It will simplify implementations and give programmers a more consistent API if MediaStream also extends EventTarget. So I suggest removing that implements clause and changing the definition of MediaStream to read:

interface MediaStream : EventTarget {

[1] &lt;http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-MediaStream&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77056</commentid>
    <comment_count>1</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2012-10-24 19:20:21 +0000</bug_when>
    <thetext>Has this been fixed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77133</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2012-10-26 10:01:45 +0000</bug_when>
    <thetext>This issue has been around for a while and the fix is so easy. I&apos;ll go ahead and edit it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>