[html5] r4142 - [gow] (1) Remove 'loadend' event from media elements.

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 14 05:03:11 PDT 2009


Author: ianh
Date: 2009-10-14 05:03:09 -0700 (Wed, 14 Oct 2009)
New Revision: 4142

Modified:
   complete.html
   index
   source
Log:
[gow] (1) Remove 'loadend' event from media elements.

Modified: complete.html
===================================================================
--- complete.html	2009-10-14 12:01:17 UTC (rev 4141)
+++ complete.html	2009-10-14 12:03:09 UTC (rev 4142)
@@ -22332,8 +22332,7 @@
 
    <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
@@ -22438,10 +22437,6 @@
      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>
@@ -22819,10 +22814,6 @@
        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
@@ -22859,10 +22850,6 @@
        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
@@ -22902,10 +22889,6 @@
        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
@@ -24259,10 +24242,6 @@
      <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).

Modified: index
===================================================================
--- index	2009-10-14 12:01:17 UTC (rev 4141)
+++ index	2009-10-14 12:03:09 UTC (rev 4142)
@@ -22161,8 +22161,7 @@
 
    <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
@@ -22267,10 +22266,6 @@
      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>
@@ -22648,10 +22643,6 @@
        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
@@ -22688,10 +22679,6 @@
        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
@@ -22731,10 +22718,6 @@
        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
@@ -24088,10 +24071,6 @@
      <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).

Modified: source
===================================================================
--- source	2009-10-14 12:01:17 UTC (rev 4141)
+++ source	2009-10-14 12:03:09 UTC (rev 4142)
@@ -23861,10 +23861,8 @@
    <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
@@ -23997,11 +23995,6 @@
      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>
@@ -24461,11 +24454,6 @@
        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>
@@ -24511,11 +24499,6 @@
        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>
@@ -24563,11 +24546,6 @@
        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
@@ -26148,11 +26126,6 @@
      <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>
      <td>A <span>media element</span> whose <code title="dom-media-networkState">networkState</code> was previously not in the <code title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</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">load()</code> method was invoked while the <span title="concept-media-load-algorithm">resource selection algorithm</span> was already running, in which case it is fired synchronously during the <code title="dom-media-load">load()</code> method call).




More information about the Commit-Watchers mailing list