Permalink
Browse files

[gow] (2) Fire 'error' events at the <source> element when it fails t…

…o load.

git-svn-id: http://svn.whatwg.org/webapps@3014 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 318a9a1 commit 4fca054945c172996141d6978ee497b0b1233fc3 @Hixie Hixie committed Apr 28, 2009
Showing with 16 additions and 4 deletions.
  1. +7 −2 index
  2. +9 −2 source
View
9 index
@@ -20310,8 +20310,9 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
<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 <a href=#queue-a-task>queue
+ a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-error><a href=#event-error>error</a></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><a href=#attr-source-src>src</a></code> attribute.</li>
@@ -20345,6 +20346,10 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
returns without aborting <em>this</em> one, then the load
failed.</li>
+ <li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
+ event</a> called <code title=event-error><a href=#event-error>error</a></code> at the
+ <var title="">candidate</var> element.</li>
+
<li><p>Return to the step labeled <i>search loop</i>.</li>
<li><p><i>Waiting:</i> Set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute to a new
View
11 source
@@ -21944,8 +21944,11 @@ interface <dfn>CueRangeCallback</dfn> {
<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>
@@ -21990,6 +21993,10 @@ interface <dfn>CueRangeCallback</dfn> {
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

0 comments on commit 4fca054

Please sign in to comment.