[html5] r2334 - [e] (0) wrong argument name for new Audio(). (bug 6057)
whatwg at whatwg.org
whatwg at whatwg.org
Wed Oct 15 14:01:48 PDT 2008
Author: ianh
Date: 2008-10-15 14:01:46 -0700 (Wed, 15 Oct 2008)
New Revision: 2334
Modified:
index
source
Log:
[e] (0) wrong argument name for new Audio(). (bug 6057)
Modified: index
===================================================================
--- index 2008-10-15 20:15:34 UTC (rev 2333)
+++ index 2008-10-15 21:01:46 UTC (rev 2334)
@@ -16336,7 +16336,7 @@
<dt>DOM interface:</dt>
<dd>
<pre class=idl>[NamedConstructor=<a href=#dom-audio title=dom-Audio>Audio</a>(),
- NamedConstructor=<a href=#dom-audio-u title=dom-Audio-u>Audio</a>(in DOMString url)]
+ NamedConstructor=<a href=#dom-audio-s title=dom-Audio-s>Audio</a>(in DOMString src)]
interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediaelement>HTMLMediaElement</a> {
// no members
};</pre>
@@ -16373,7 +16373,7 @@
<p>Two constructors are provided for creating
<code><a href=#htmlaudioelement>HTMLAudioElement</a></code> objects (in addition to the factory
- methods from DOM Core such as <code title="">createElement()</code>): <dfn id=dom-audio title=dom-Audio><code>Audio()</code></dfn> and <dfn id=dom-audio-u title=dom-Audio-u><code>Audio(<var title="">url</var>)</code></dfn>. When invoked as constructors,
+ methods from DOM Core such as <code title="">createElement()</code>): <dfn id=dom-audio title=dom-Audio><code>Audio()</code></dfn> and <dfn id=dom-audio-s title=dom-Audio-s><code>Audio(<var title="">src</var>)</code></dfn>. When invoked as constructors,
these must return a new <code><a href=#htmlaudioelement>HTMLAudioElement</a></code> object (a new
<code><a href=#audio>audio</a></code> element). If the <var title="">src</var> argument
is present, the object created must have its <code title=dom-media-src><a href=#dom-media-src>src</a></code> content attribute set to the
Modified: source
===================================================================
--- source 2008-10-15 20:15:34 UTC (rev 2333)
+++ source 2008-10-15 21:01:46 UTC (rev 2334)
@@ -17405,7 +17405,7 @@
<dt>DOM interface:</dt>
<dd>
<pre class="idl">[NamedConstructor=<span title="dom-Audio">Audio</span>(),
- NamedConstructor=<span title="dom-Audio-u">Audio</span>(in DOMString url)]
+ NamedConstructor=<span title="dom-Audio-s">Audio</span>(in DOMString src)]
interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
// no members
};</pre>
@@ -17457,8 +17457,8 @@
methods from DOM Core such as <code
title="">createElement()</code>): <dfn
title="dom-Audio"><code>Audio()</code></dfn> and <dfn
- title="dom-Audio-u"><code>Audio(<var
- title="">url</var>)</code></dfn>. When invoked as constructors,
+ title="dom-Audio-s"><code>Audio(<var
+ title="">src</var>)</code></dfn>. When invoked as constructors,
these must return a new <code>HTMLAudioElement</code> object (a new
<code>audio</code> element). If the <var title="">src</var> argument
is present, the object created must have its <code
More information about the Commit-Watchers
mailing list