HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
3014[Gecko] [Opera] [Webkit] Fire 'error' events at the <source> element when it fails to load.2009-04-28 23:17
@@ -21937,22 +21937,25 @@ interface <dfn>CueRangeCallback</dfn> {
        <li><p>If <var title="">candidate</var> is null, restart the
        step labelled <i>search loop</i> from the first
        substep.</p></li>
 
       </ol>
 
      </li>
 
      <li>
 
-      <p>If any of the following conditions are true, then jump back
-      to the step labelled <i>search loop</i>:</p>
+      <p>If any of the following conditions are true, then <span>queue
+      a task</span> to <span>fire a simple event</span> called <code
+      title="event-error">error</code> at the <var
+      title="">candidate</var> element and then jump back to the step
+      labelled <i>search loop</i>:</p>
 
       <ul>
 
        <li>The <var title="">candidate</var> element does not have a
        <code title="attr-source-src">src</code> attribute.</li>
 
        <li><span title="resolve a url">Resolving</span> the
        <span>URL</span> given by the <var title="">candidate</var>
        element's <code title="attr-source-src">src</code> attribute
        relative to <var title="">candidate</var> fails.</li>
@@ -21983,20 +21986,24 @@ interface <dfn>CueRangeCallback</dfn> {
      <li><p>Run the <span
      title="concept-media-load-resource">resource fetch
      algorithm</span> with the <span>absolute URL</span> that resulted
      from <span title="resolve a url">resolving</span> the
      <span>URL</span> given by the <var title="">candidate</var>
      element's <code title="attr-source-src">src</code> attribute
      relative to <var title="">candidate</var>. If that algorithm
      returns without aborting <em>this</em> one, then the load
      failed.</p></li>
 
+     <li><p><span>Queue a task</span> to <span>fire a simple
+     event</span> called <code title="event-error">error</code> at the
+     <var title="">candidate</var> element.</p></li>
+
      <li><p>Return to the step labeled <i>search loop</i>.</p></li>
 
      <li><p><i>Waiting:</i> Set the <code
      title="dom-media-error">error</code> attribute to a new
      <code>MediaError</code> object whose <code
      title="dom-MediaError-code">code</code> attribute is set to <code
      title="dom-MediaError-MEDIA_ERR_NONE_SUPPORTED">MEDIA_ERR_NONE_SUPPORTED</code>.</p></li>
 
      <li><p>Set the element's <code
      title="dom-media-networkState">networkState</code> attribute to

|