HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2079Make it so that multiple pending load()s are coallesced into one. (credit: pj)2008-08-18 21:27
@@ -16571,20 +16571,25 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
   true state.</p>
 
   <p>When the <dfn title="dom-media-load"><code>load()</code></dfn>
   method on a <span>media element</span> is invoked, the user agent
   must run the following steps. Note that this algorithm might get
   aborted, e.g. if the <code title="dom-media-load">load()</code>
   method itself is invoked again.</p>
 
   <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
    immediately return. This is not blocking; this algorithm must not
    wait for the earlier instances to abort before continuing.</p></li>
 
    <li><p>If the element's <span>begun flag</span> is true, then the
    <span>begun flag</span> must be set to false, the <code
    title="dom-media-error">error</code> attribute must be set to a new
    <code>MediaError</code> object whose <code

|