[html5] r5219 - [giow] (1) Make the events around seeking more predictable and reliable.

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 28 15:35:52 PDT 2010


Author: ianh
Date: 2010-07-28 15:35:51 -0700 (Wed, 28 Jul 2010)
New Revision: 5219

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Make the events around seeking more predictable and reliable.

Modified: complete.html
===================================================================
--- complete.html	2010-07-28 22:30:50 UTC (rev 5218)
+++ complete.html	2010-07-28 22:35:51 UTC (rev 5219)
@@ -26092,10 +26092,6 @@
    <li><p>Set the <code title=dom-media-seeking><a href=#dom-media-seeking>seeking</a></code> IDL
    attribute to true.</li>
 
-   <li id=seekUpdate><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-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> at the
-   element.</li>
-
    <li><p>If the seek was in response to a DOM method call or setting
    of an IDL attribute, then continue the script. The remainder of
    these steps must be run asynchronously. With the exception of the
@@ -26125,6 +26121,14 @@
    <li><p>Set the <a href=#current-playback-position>current playback position</a> to the given
    <var title="">new playback position</var>.</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-seeking><a href=#event-media-seeking>seeking</a></code>
+   at the element.</li>
+
+   <li id=seekUpdate><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-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> at the
+   element.</li>
+
    <li><p>If the <a href=#media-element>media element</a> was <a href=#potentially-playing>potentially
    playing</a> immediately before it started seeking, but seeking
    caused its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code>
@@ -26133,16 +26137,11 @@
    <code title=event-media-waiting><a href=#event-media-waiting>waiting</a></code> at the
    element.</li>
 
-   <li><p>If, when it reaches this step, the user agent has still not
-   established whether or not the <a href=#media-data>media data</a> for the <var title="">new playback position</var> is available, and, if it is,
-   decoded enough data to play back that position, then <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-seeking><a href=#event-media-seeking>seeking</a></code> at the element.</li>
+   <li><p>Wait until the user agent has established whether or not the
+   <a href=#media-data>media data</a> for the <var title="">new playback
+   position</var> is available, and, if it is, until it has decoded
+   enough data to play back that position.</li>
 
-   <li><p>Wait until it has established whether or not the <a href=#media-data>media
-   data</a> for the <var title="">new playback position</var> is
-   available, and, if it is, until it has decoded enough data to play
-   back that position.</li>
-
    <li><p><a href=#await-a-stable-state>Await a stable state</a>. The <a href=#synchronous-section>synchronous
    section</a> consists of all the remaining steps of this
    algorithm. (Steps in the <a href=#synchronous-section>synchronous section</a> are

Modified: index
===================================================================
--- index	2010-07-28 22:30:50 UTC (rev 5218)
+++ index	2010-07-28 22:35:51 UTC (rev 5219)
@@ -26019,10 +26019,6 @@
    <li><p>Set the <code title=dom-media-seeking><a href=#dom-media-seeking>seeking</a></code> IDL
    attribute to true.</li>
 
-   <li id=seekUpdate><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-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> at the
-   element.</li>
-
    <li><p>If the seek was in response to a DOM method call or setting
    of an IDL attribute, then continue the script. The remainder of
    these steps must be run asynchronously. With the exception of the
@@ -26052,6 +26048,14 @@
    <li><p>Set the <a href=#current-playback-position>current playback position</a> to the given
    <var title="">new playback position</var>.</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-seeking><a href=#event-media-seeking>seeking</a></code>
+   at the element.</li>
+
+   <li id=seekUpdate><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-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> at the
+   element.</li>
+
    <li><p>If the <a href=#media-element>media element</a> was <a href=#potentially-playing>potentially
    playing</a> immediately before it started seeking, but seeking
    caused its <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code>
@@ -26060,16 +26064,11 @@
    <code title=event-media-waiting><a href=#event-media-waiting>waiting</a></code> at the
    element.</li>
 
-   <li><p>If, when it reaches this step, the user agent has still not
-   established whether or not the <a href=#media-data>media data</a> for the <var title="">new playback position</var> is available, and, if it is,
-   decoded enough data to play back that position, then <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-seeking><a href=#event-media-seeking>seeking</a></code> at the element.</li>
+   <li><p>Wait until the user agent has established whether or not the
+   <a href=#media-data>media data</a> for the <var title="">new playback
+   position</var> is available, and, if it is, until it has decoded
+   enough data to play back that position.</li>
 
-   <li><p>Wait until it has established whether or not the <a href=#media-data>media
-   data</a> for the <var title="">new playback position</var> is
-   available, and, if it is, until it has decoded enough data to play
-   back that position.</li>
-
    <li><p><a href=#await-a-stable-state>Await a stable state</a>. The <a href=#synchronous-section>synchronous
    section</a> consists of all the remaining steps of this
    algorithm. (Steps in the <a href=#synchronous-section>synchronous section</a> are

Modified: source
===================================================================
--- source	2010-07-28 22:30:50 UTC (rev 5218)
+++ source	2010-07-28 22:35:51 UTC (rev 5219)
@@ -28234,11 +28234,6 @@
    <li><p>Set the <code title="dom-media-seeking">seeking</code> IDL
    attribute to true.</p></li>
 
-   <li id="seekUpdate"><p><span>Queue a task</span> to <span>fire a
-   simple event</span> named <code
-   title="event-media-timeupdate">timeupdate</code> at the
-   element.</p></li>
-
    <li><p>If the seek was in response to a DOM method call or setting
    of an IDL attribute, then continue the script. The remainder of
    these steps must be run asynchronously. With the exception of the
@@ -28271,6 +28266,15 @@
    <li><p>Set the <span>current playback position</span> to the given
    <var title="">new playback position</var>.</p></li>
 
+   <li><p><span>Queue a task</span> to <span>fire a simple
+   event</span> named <code title="event-media-seeking">seeking</code>
+   at the element.</p></li>
+
+   <li id="seekUpdate"><p><span>Queue a task</span> to <span>fire a
+   simple event</span> named <code
+   title="event-media-timeupdate">timeupdate</code> at the
+   element.</p></li>
+
    <li><p>If the <span>media element</span> was <span>potentially
    playing</span> immediately before it started seeking, but seeking
    caused its <code title="dom-media-readyState">readyState</code>
@@ -28280,18 +28284,11 @@
    <code title="event-media-waiting">waiting</code> at the
    element.</p></li>
 
-   <li><p>If, when it reaches this step, the user agent has still not
-   established whether or not the <span>media data</span> for the <var
-   title="">new playback position</var> is available, and, if it is,
-   decoded enough data to play back that position, then <span>queue a
-   task</span> to <span>fire a simple event</span> named <code
-   title="event-media-seeking">seeking</code> at the element.</p></li>
+   <li><p>Wait until the user agent has established whether or not the
+   <span>media data</span> for the <var title="">new playback
+   position</var> is available, and, if it is, until it has decoded
+   enough data to play back that position.</p></li>
 
-   <li><p>Wait until it has established whether or not the <span>media
-   data</span> for the <var title="">new playback position</var> is
-   available, and, if it is, until it has decoded enough data to play
-   back that position.</p></li>
-
    <li><p><span>Await a stable state</span>. The <span>synchronous
    section</span> consists of all the remaining steps of this
    algorithm. (Steps in the <span>synchronous section</span> are




More information about the Commit-Watchers mailing list