Skip to content

Commit

Permalink
[gow] (1) Remove 'loadend' event from media elements.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@4142 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 14, 2009
1 parent ce1170f commit 49454c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 72 deletions.
23 changes: 1 addition & 22 deletions complete.html
Expand Up @@ -22332,8 +22332,7 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the

<li><p>If <var title="">aborted</var> is true, set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute to a new
<code><a href=#mediaerror>MediaError</a></code> object whose <code title=dom-MediaError-code><a href=#dom-mediaerror-code>code</a></code> attribute is set to <code title=dom-MediaError-MEDIA_ERR_ABORTED><a href=#dom-mediaerror-media_err_aborted>MEDIA_ERR_ABORTED</a></code>,
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-abort><a href=#event-media-abort>abort</a></code> at the <a href=#media-element>media
element</a>, and <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
and <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-abort><a href=#event-media-abort>abort</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>Set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute
Expand Down Expand Up @@ -22438,10 +22437,6 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code>
at the <a href=#media-element>media element</a>.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event flag</a>
to false. This stops <a href=#delay-the-load-event title="delay the load event">delaying
the load event</a>.</li>
Expand Down Expand Up @@ -22819,10 +22814,6 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code>
at the <a href=#media-element>media element</a>.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
the <a href=#dom-media-network_empty title=dom-media-NETWORK_EMPTY>NETWORK_EMPTY</a>
value and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
Expand Down Expand Up @@ -22859,10 +22850,6 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code>
at the <a href=#media-element>media element</a>.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
the <a href=#dom-media-network_empty title=dom-media-NETWORK_EMPTY>NETWORK_EMPTY</a>
value and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
Expand Down Expand Up @@ -22902,10 +22889,6 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
event</a> named <code title=event-media-abort><a href=#event-media-abort>abort</a></code>
at the <a href=#media-element>media element</a>.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute has a
value equal to <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code>, set the
element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
Expand Down Expand Up @@ -24259,10 +24242,6 @@ <h5 id=mediaevents><span class=secno>4.8.10.12 </span>Event summary</h5>
<td>An error occurs while fetching the <a href=#media-data>media data</a>.
<td><code title=dom-media-error><a href=#dom-media-error>error</a></code> is an object with the code <code title=dom-MediaError-MEDIA_ERR_NETWORK><a href=#dom-mediaerror-media_err_network>MEDIA_ERR_NETWORK</a></code> or higher.
<code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> equals either <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code> or <code title=dom-media-NETWORK_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code>, depending on when the download was aborted.
<tr><td><dfn id=event-media-loadend title=event-media-loadend><code>loadend</code></dfn>
<td><code>Event</code>
<td>The user agent stops fetching the <a href=#media-data>media data</a>, for whatever reason.
<td>One of <code title=event-media-abort><a href=#event-media-abort>abort</a></code> or <code title=event-media-error><a href=#event-media-error>error</a></code> has just fired.
<tr><td><dfn id=event-media-emptied title=event-media-emptied><code>emptied</code></dfn>
<td><code>Event</code>
<td>A <a href=#media-element>media element</a> whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> was previously not in the <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code> state has just switched to that state (either because of a fatal error during load that's about to be reported, or because the <code title=dom-media-load><a href=#dom-media-load>load()</a></code> method was invoked while the <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection algorithm</a> was already running, in which case it is fired synchronously during the <code title=dom-media-load><a href=#dom-media-load>load()</a></code> method call).
Expand Down
23 changes: 1 addition & 22 deletions index
Expand Up @@ -22161,8 +22161,7 @@ interface <dfn>CueRangeCallback</dfn> {

<li><p>If <var title="">aborted</var> is true, set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute to a new
<code><a href=#mediaerror>MediaError</a></code> object whose <code title=dom-MediaError-code><a href=#dom-mediaerror-code>code</a></code> attribute is set to <code title=dom-MediaError-MEDIA_ERR_ABORTED><a href=#dom-mediaerror-media_err_aborted>MEDIA_ERR_ABORTED</a></code>,
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-abort><a href=#event-media-abort>abort</a></code> at the <a href=#media-element>media
element</a>, and <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
and <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-abort><a href=#event-media-abort>abort</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>Set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute
Expand Down Expand Up @@ -22267,10 +22266,6 @@ interface <dfn>CueRangeCallback</dfn> {
event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code>
at the <a href=#media-element>media element</a>.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event flag</a>
to false. This stops <a href=#delay-the-load-event title="delay the load event">delaying
the load event</a>.</li>
Expand Down Expand Up @@ -22648,10 +22643,6 @@ interface <dfn>CueRangeCallback</dfn> {
event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code>
at the <a href=#media-element>media element</a>.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
the <a href=#dom-media-network_empty title=dom-media-NETWORK_EMPTY>NETWORK_EMPTY</a>
value and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
Expand Down Expand Up @@ -22688,10 +22679,6 @@ interface <dfn>CueRangeCallback</dfn> {
event</a> named <code title=event-media-error><a href=#event-media-error>error</a></code>
at the <a href=#media-element>media element</a>.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>Set the element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
the <a href=#dom-media-network_empty title=dom-media-NETWORK_EMPTY>NETWORK_EMPTY</a>
value and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple
Expand Down Expand Up @@ -22731,10 +22718,6 @@ interface <dfn>CueRangeCallback</dfn> {
event</a> named <code title=event-media-abort><a href=#event-media-abort>abort</a></code>
at the <a href=#media-element>media element</a>.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-media-loadend><a href=#event-media-loadend>loadend</a></code> at the <a href=#media-element>media
element</a>.</li>

<li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute has a
value equal to <code title=dom-media-HAVE_NOTHING><a href=#dom-media-have_nothing>HAVE_NOTHING</a></code>, set the
element's <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute to
Expand Down Expand Up @@ -24088,10 +24071,6 @@ interface <dfn>CueRangeCallback</dfn> {
<td>An error occurs while fetching the <a href=#media-data>media data</a>.
<td><code title=dom-media-error><a href=#dom-media-error>error</a></code> is an object with the code <code title=dom-MediaError-MEDIA_ERR_NETWORK><a href=#dom-mediaerror-media_err_network>MEDIA_ERR_NETWORK</a></code> or higher.
<code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> equals either <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code> or <code title=dom-media-NETWORK_IDLE><a href=#dom-media-network_idle>NETWORK_IDLE</a></code>, depending on when the download was aborted.
<tr><td><dfn id=event-media-loadend title=event-media-loadend><code>loadend</code></dfn>
<td><code>Event</code>
<td>The user agent stops fetching the <a href=#media-data>media data</a>, for whatever reason.
<td>One of <code title=event-media-abort><a href=#event-media-abort>abort</a></code> or <code title=event-media-error><a href=#event-media-error>error</a></code> has just fired.
<tr><td><dfn id=event-media-emptied title=event-media-emptied><code>emptied</code></dfn>
<td><code>Event</code>
<td>A <a href=#media-element>media element</a> whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> was previously not in the <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code> state has just switched to that state (either because of a fatal error during load that's about to be reported, or because the <code title=dom-media-load><a href=#dom-media-load>load()</a></code> method was invoked while the <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection algorithm</a> was already running, in which case it is fired synchronously during the <code title=dom-media-load><a href=#dom-media-load>load()</a></code> method call).
Expand Down
29 changes: 1 addition & 28 deletions source
Expand Up @@ -23861,10 +23861,8 @@ interface <dfn>CueRangeCallback</dfn> {
<code>MediaError</code> object whose <code
title="dom-MediaError-code">code</code> attribute is set to <code
title="dom-MediaError-MEDIA_ERR_ABORTED">MEDIA_ERR_ABORTED</code>,
<span>fire a simple event</span> named <code
and <span>fire a simple event</span> named <code
title="event-media-abort">abort</code> at the <span>media
element</span>, and <span>fire a simple event</span> named <code
title="event-media-loadend">loadend</code> at the <span>media
element</span>.</p></li>

<li><p>Set the <code title="dom-media-error">error</code> attribute
Expand Down Expand Up @@ -23997,11 +23995,6 @@ interface <dfn>CueRangeCallback</dfn> {
event</span> named <code title="event-media-error">error</code>
at the <span>media element</span>.</p></li>

<li><p><span>Queue a task</span> to <span>fire a simple
event</span> named <code
title="event-media-loadend">loadend</code> at the <span>media
element</span>.</p></li>

<li><p>Set the element's <span>delaying-the-load-event flag</span>
to false. This stops <span title="delay the load event">delaying
the load event</span>.</p></li>
Expand Down Expand Up @@ -24461,11 +24454,6 @@ interface <dfn>CueRangeCallback</dfn> {
event</span> named <code title="event-media-error">error</code>
at the <span>media element</span>.</p></li>

<li><p><span>Queue a task</span> to <span>fire a simple
event</span> named <code
title="event-media-loadend">loadend</code> at the <span>media
element</span>.</p></li>

<li><p>Set the element's <code
title="dom-media-networkState">networkState</code> attribute to
the <span title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</span>
Expand Down Expand Up @@ -24511,11 +24499,6 @@ interface <dfn>CueRangeCallback</dfn> {
event</span> named <code title="event-media-error">error</code>
at the <span>media element</span>.</p></li>

<li><p><span>Queue a task</span> to <span>fire a simple
event</span> named <code
title="event-media-loadend">loadend</code> at the <span>media
element</span>.</p></li>

<li><p>Set the element's <code
title="dom-media-networkState">networkState</code> attribute to
the <span title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</span>
Expand Down Expand Up @@ -24563,11 +24546,6 @@ interface <dfn>CueRangeCallback</dfn> {
event</span> named <code title="event-media-abort">abort</code>
at the <span>media element</span>.</p></li>

<li><p><span>Queue a task</span> to <span>fire a simple
event</span> named <code
title="event-media-loadend">loadend</code> at the <span>media
element</span>.</p></li>

<li><p>If the <span>media element</span>'s <code
title="dom-media-readyState">readyState</code> attribute has a
value equal to <code
Expand Down Expand Up @@ -26147,11 +26125,6 @@ interface <dfn>CueRangeCallback</dfn> {
<td>An error occurs while fetching the <span>media data</span>.
<td><code title="dom-media-error">error</code> is an object with the code <code title="dom-MediaError-MEDIA_ERR_NETWORK">MEDIA_ERR_NETWORK</code> or higher.
<code title="dom-media-networkState">networkState</code> equals either <code title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code> or <code title="dom-media-NETWORK_IDLE">NETWORK_IDLE</code>, depending on when the download was aborted.
<tr>
<td><dfn title="event-media-loadend"><code>loadend</code></dfn>
<td><code>Event</code>
<td>The user agent stops fetching the <span>media data</span>, for whatever reason.
<td>One of <code title="event-media-abort">abort</code> or <code title="event-media-error">error</code> has just fired.
<tr>
<td><dfn title="event-media-emptied"><code>emptied</code></dfn>
<td><code>Event</code>
Expand Down

0 comments on commit 49454c1

Please sign in to comment.