<?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>21043</bug_id>
          
          <creation_ts>2013-02-19 05:42:40 +0000</creation_ts>
          <short_desc>Use an optional NamedConstructor argument for HTMLAudioElement</short_desc>
          <delta_ts>2013-04-15 21:38:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          <blocked>21050</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ehsan Akhgari [:ehsan]">ehsan</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>eoconnor</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83307</commentid>
    <comment_count>0</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2013-02-19 05:42:40 +0000</bug_when>
    <thetext>This is what the spec currently says:

[NamedConstructor=Audio(),
 NamedConstructor=Audio(DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {};

However, the following equivalent IDL is simpler:

[NamedConstructor=Audio(optional DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {};</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83344</commentid>
    <comment_count>1</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2013-02-19 19:22:19 +0000</bug_when>
    <thetext>Ms2ger, we generally clone (not move) bugs between the HTML WG/HTML5 spec and WHATWG/HTML specs. I&apos;ll leave this one here and clone it back to where it started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86060</commentid>
    <comment_count>2</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2013-04-12 19:06:36 +0000</bug_when>
    <thetext>Hrm, not sure what WFM means here :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86063</commentid>
    <comment_count>3</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-04-12 19:18:14 +0000</bug_when>
    <thetext>The spec currently says:

[NamedConstructor=Audio(optional DOMString src)]

http://www.whatwg.org/html/#the-audio-element</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86064</commentid>
    <comment_count>4</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2013-04-12 19:23:52 +0000</bug_when>
    <thetext>Oh, right, sorry I missed that!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86237</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-04-15 21:38:09 +0000</bug_when>
    <thetext>Yeah I mark bugs WORKSFORME when something else resolved the problem (e.g. I fixed another bug, or just ran across it independently or based on some comment someone made in e-mail or IRC or whatever), so as to not imply that there&apos;s a specific patch that one can look for which I made for this bug specifically (which is what I use FIXED for generally).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>