[html5] r2079 - [] (0) Make it so that multiple pending load()s are coallesced into one. (credit: pj)

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 18 14:27:23 PDT 2008


Author: ianh
Date: 2008-08-18 14:27:22 -0700 (Mon, 18 Aug 2008)
New Revision: 2079

Modified:
   index
   source
Log:
[] (0) Make it so that multiple pending load()s are coallesced into one. (credit: pj)

Modified: index
===================================================================
--- index	2008-08-18 21:16:32 UTC (rev 2078)
+++ index	2008-08-18 21:27:22 UTC (rev 2079)
@@ -18689,8 +18689,8 @@
    <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 @@
    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 @@
 
   <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 @@
    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

Modified: source
===================================================================
--- source	2008-08-18 21:16:32 UTC (rev 2078)
+++ source	2008-08-18 21:27:22 UTC (rev 2079)
@@ -16578,6 +16578,11 @@
 
   <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




More information about the Commit-Watchers mailing list