Navigation Menu

Skip to content

Commit

Permalink
[] (0) Make it so that multiple pending load()s are coallesced into o…
Browse files Browse the repository at this point in the history
…ne. (credit: pj)

git-svn-id: http://svn.whatwg.org/webapps@2079 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 18, 2008
1 parent b526eaa commit cdef700
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
18 changes: 12 additions & 6 deletions index
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -19070,6 +19070,12 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
method itself is invoked again.

<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
Expand Down Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions source
Expand Up @@ -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
Expand Down

0 comments on commit cdef700

Please sign in to comment.