Browse files

[] (0) Make it so that multiple pending load()s are coallesced into o…

…ne. (credit: pj)

git-svn-id: http://svn.whatwg.org/webapps@2079 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent b526eaa commit cdef70077e9ac70a6b6ec87cdf04d14fd0451eb2 @Hixie Hixie committed Aug 18, 2008
Showing with 17 additions and 6 deletions.
  1. +12 −6 index
  2. +5 −0 source
View
18 index
@@ -18689,8 +18689,8 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
<code title=dom-media-load><a href="#load">load()</a></code> method on the
<a href="#media7">media element</a>, and ignores any resulting exceptions.
The <a href="#task-source">task source</a> for this task is the <a
- href="#media7">media element</a>'s own <span>new resource task
- source</span>.
+ href="#media7">media element</a>'s own <a href="#new-resource">new
+ resource task source</a>.
<p>The DOM attributes <dfn id=src6
title=dom-source-src><code>src</code></dfn>, <dfn id=type9
@@ -18883,8 +18883,8 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
href="#load">load()</a></code> method on the <a href="#media7">media
element</a>, and ignores any resulting exceptions. The <a
href="#task-source">task source</a> for this task is the <a
- href="#media7">media element</a>'s own <span>new resource task
- source</span>.
+ href="#media7">media element</a>'s own <a href="#new-resource">new
+ resource task source</a>.
<p class=note>If a <code title=attr-media-src><a
href="#src7">src</a></code> attribute is specified, the resource it
@@ -19071,6 +19071,12 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
<ol>
<li>
+ <p>If there are any <a href="#tasks" title=concept-task>tasks</a> from
+ the <a href="#media7">media element</a>'s own <dfn id=new-resource>new
+ resource task source</dfn> in one of the <a href="#task-queues"
+ title="task queue">task queues</a>, then remove those tasks.
+
+ <li>
<p>Any already-running instance of this algorithm for this element must
be aborted. If those method calls have not yet returned, they must
finish the step they are on, and then immediately return. This is not
@@ -19452,8 +19458,8 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
href="#load">load()</a></code> method on the <a href="#media7">media
element</a>, and ignores any resulting exceptions. The <a
href="#task-source">task source</a> for this task is the <a
- href="#media7">media element</a>'s own <span>new resource task
- source</span>.
+ href="#media7">media element</a>'s own <a href="#new-resource">new
+ resource task source</a>.
<p>The <dfn id=bufferingrate
title=dom-media-bufferingRate><code>bufferingRate</code></dfn> attribute
View
5 source
@@ -16578,6 +16578,11 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
<ol>
+ <li><p>If there are any <span title="concept-task">tasks</span>
+ from the <span>media element</span>'s own <dfn>new resource task
+ source</dfn> in one of the <span title="task queue">task
+ queues</span>, then remove those tasks.</p></li>
+
<li><p>Any already-running instance of this algorithm for this
element must be aborted. If those method calls have not yet
returned, they must finish the step they are on, and then

0 comments on commit cdef700

Please sign in to comment.