Skip to content

Commit

Permalink
[gow] (2) Fire 'error' events at the <source> element when it fails t…
Browse files Browse the repository at this point in the history
…o load.

git-svn-id: http://svn.whatwg.org/webapps@3014 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 28, 2009
1 parent 318a9a1 commit 4fca054
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
9 changes: 7 additions & 2 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand Down
11 changes: 9 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4fca054

Please sign in to comment.