hixie: These steps are already running in a task, not async, so no need to have them queue more tasks to fire events. (whatwg r6581)

hixie: These steps are already running in a task, not async, so no need
to have them queue more tasks to fire events. (whatwg r6581)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5274&r2=1.5275&f=h
http://html5.org/tools/web-apps-tracker?from=6580&to=6581

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5274
retrieving revision 1.5275
diff -u -d -r1.5274 -r1.5275
--- Overview.html 23 Sep 2011 22:20:44 -0000 1.5274
+++ Overview.html 23 Sep 2011 22:22:57 -0000 1.5275
@@ -22773,19 +22773,16 @@
 
      <dd>
 
-      <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-progress"><a href="#event-media-progress">progress</a></code> at the
-      <a href="#media-element">media element</a>.</p>
+      <p><a href="#fire-a-simple-event">Fire a simple event</a> named <code title="event-media-progress"><a href="#event-media-progress">progress</a></code> at the <a href="#media-element">media
+      element</a>.</p>
 
-      <p>Then, <a href="#queue-a-task">queue a task</a> to set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code> and
+      <p>Set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code> and
       <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-suspend"><a href="#event-media-suspend">suspend</a></code> at the <a href="#media-element">media
       element</a>.</p>
 
       <p>If the user agent ever discards any <a href="#media-data">media data</a>
       and then needs to resume the network activity to obtain it
-      again, then it must wait <a href="#queue-a-task">queue a task</a> to set the
-      <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to
-      <code title="dom-media-NETWORK_LOADING"><a href="#dom-media-network_loading">NETWORK_LOADING</a></code>.</p>
+      again, then it must <a href="#queue-a-task">queue a task</a> to set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to <code title="dom-media-NETWORK_LOADING"><a href="#dom-media-network_loading">NETWORK_LOADING</a></code>.</p>
 
       <p class="note">If the user agent can keep the <a href="#media-resource">media
       resource</a> loaded, then the algorithm will continue to its
@@ -22813,9 +22810,8 @@
        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_NETWORK"><a href="#dom-mediaerror-media_err_network">MEDIA_ERR_NETWORK</a></code>.</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-error"><a href="#event-media-error">error</a></code>
-       at the <a href="#media-element">media element</a>.</li>
+       <li><p><a href="#fire-a-simple-event">Fire a simple 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>Set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
        the <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>
@@ -22847,17 +22843,15 @@
        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_DECODE"><a href="#dom-mediaerror-media_err_decode">MEDIA_ERR_DECODE</a></code>.</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-error"><a href="#event-media-error">error</a></code>
-       at the <a href="#media-element">media element</a>.</li>
+       <li><p><a href="#fire-a-simple-event">Fire a simple 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>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
        the <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code>
-       value and <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-emptied"><a href="#event-media-emptied">emptied</a></code>
-       at the element. Otherwise, set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
+       value and <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code> at the element.
+       Otherwise, set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
        the <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>
        value.</li>
 
@@ -22890,17 +22884,15 @@
        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>.</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-abort"><a href="#event-media-abort">abort</a></code>
-       at the <a href="#media-element">media element</a>.</li>
+       <li><p><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>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
        the <code title="dom-media-NETWORK_EMPTY"><a href="#dom-media-network_empty">NETWORK_EMPTY</a></code>
-       value and <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-emptied"><a href="#event-media-emptied">emptied</a></code>
-       at the element. Otherwise, set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
+       value and <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-emptied"><a href="#event-media-emptied">emptied</a></code> at the element.
+       Otherwise, set the element's <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to
        the <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>
        value.</li>
 
@@ -22931,14 +22923,17 @@
      </dd>
 
 
-     <dt id="found-a-media-resource-specific-timed-track">If the <a href="#media-resource">media resource</a> is found to declare a <a href="#media-resource-specific-text-track">media-resource-specific text track</a> that the user agent supports</dt>
+     <dt id="found-a-media-resource-specific-timed-track">If the
+     <a href="#media-resource">media resource</a> is found to declare a
+     <a href="#media-resource-specific-text-track">media-resource-specific text track</a> that the user
+     agent supports</dt>
 
      <dd>
 
       <p>If the <a href="#media-data">media data</a> is
-      <a href="#cors-same-origin">CORS-same-origin</a>, <a href="#queue-a-task">queue a task</a> to run
-      the <a href="#steps-to-expose-a-media-resource-specific-text-track">steps to expose a media-resource-specific text
-      track</a> with the relevant data.</p>
+      <a href="#cors-same-origin">CORS-same-origin</a>, run the <a href="#steps-to-expose-a-media-resource-specific-text-track">steps to expose a
+      media-resource-specific text track</a> with the relevant
+      data.</p>
 
       <p class="note">Cross-origin videos do not expose their
       subtitles, since that would allow attacks such as hostile sites
@@ -22965,7 +22960,7 @@
     even once the <a href="#ended-playback" title="ended playback">playback has
     ended</a>, because there is always the chance the user will
     seek back to the start. In fact, in this situation, once <a href="#ended-playback" title="ended playback">playback has ended</a>, the user agent
-    will end up firing a <code title="event-media-stalled"><a href="#event-media-stalled">stalled</a></code> event, as described
+    will end up firing a <code title="event-media-suspend"><a href="#event-media-suspend">suspend</a></code> event, as described
     earlier.</p>
 
    </li>

Received on Friday, 23 September 2011 22:23:13 UTC