[html5] r4684 - [giow] (0) Prevent 'timeupdate' from firing faster than it is handled.

whatwg at whatwg.org whatwg at whatwg.org
Tue Feb 9 18:14:20 PST 2010


Author: ianh
Date: 2010-02-09 18:14:17 -0800 (Tue, 09 Feb 2010)
New Revision: 4684

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Prevent 'timeupdate' from firing faster than it is handled.

Modified: complete.html
===================================================================
--- complete.html	2010-02-06 10:55:52 UTC (rev 4683)
+++ complete.html	2010-02-10 02:14:17 UTC (rev 4684)
@@ -110,7 +110,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 6 February 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 10 February 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -23014,8 +23014,9 @@
   <p>When the <a href=#earliest-possible-position>earliest possible position</a> changes, then:
   if the <a href=#current-playback-position>current playback position</a> is before the
   <a href=#earliest-possible-position>earliest possible position</a>, the user agent must <a href=#dom-media-seek title=dom-media-seek>seek</a> to the <a href=#earliest-possible-position>earliest possible
-  position</a>; otherwise, if the user agent has not fired a <code title=event-media-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> event at the element in
-  the past 15 to 250ms, then the user agent must <a href=#queue-a-task>queue a
+  position</a>; otherwise, if the user agent has not fired a <code title=event-media-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> event at the
+  element in the past 15 to 250ms and is not still running event
+  handlers for such an event, then the user agent must <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.</p>
 
   <p class=note>Because of the above requirement and the requirement
@@ -23726,12 +23727,13 @@
    element.</p></li>
 --><li><p>If the time was reached through the usual monotonic increase
    of the current playback position during normal playback, and if the
-   user agent has not fired a <code title=event-media-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> event at the element in
-   the past 15 to 250ms, then the user agent must <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. (In the
-   other cases, such as explicit seeks, relevant events get fired as
-   part of the overall process of changing the current playback
-   position.)</p>
+   user agent has not fired a <code title=event-media-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> event at the
+   element in the past 15 to 250ms and is not still running event
+   handlers for such an event, then the user agent must <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. (In the other cases, such as explicit seeks, relevant
+   events get fired as part of the overall process of changing the
+   current playback position.)</p>
 
    <p class=note>The event thus is not to be fired faster than about
    66Hz or slower than 4Hz. User agents are encouraged to vary the

Modified: index
===================================================================
--- index	2010-02-06 10:55:52 UTC (rev 4683)
+++ index	2010-02-10 02:14:17 UTC (rev 4684)
@@ -112,7 +112,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 6 February 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 10 February 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -22913,8 +22913,9 @@
   <p>When the <a href=#earliest-possible-position>earliest possible position</a> changes, then:
   if the <a href=#current-playback-position>current playback position</a> is before the
   <a href=#earliest-possible-position>earliest possible position</a>, the user agent must <a href=#dom-media-seek title=dom-media-seek>seek</a> to the <a href=#earliest-possible-position>earliest possible
-  position</a>; otherwise, if the user agent has not fired a <code title=event-media-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> event at the element in
-  the past 15 to 250ms, then the user agent must <a href=#queue-a-task>queue a
+  position</a>; otherwise, if the user agent has not fired a <code title=event-media-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> event at the
+  element in the past 15 to 250ms and is not still running event
+  handlers for such an event, then the user agent must <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.</p>
 
   <p class=note>Because of the above requirement and the requirement
@@ -23625,12 +23626,13 @@
    element.</p></li>
 --><li><p>If the time was reached through the usual monotonic increase
    of the current playback position during normal playback, and if the
-   user agent has not fired a <code title=event-media-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> event at the element in
-   the past 15 to 250ms, then the user agent must <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. (In the
-   other cases, such as explicit seeks, relevant events get fired as
-   part of the overall process of changing the current playback
-   position.)</p>
+   user agent has not fired a <code title=event-media-timeupdate><a href=#event-media-timeupdate>timeupdate</a></code> event at the
+   element in the past 15 to 250ms and is not still running event
+   handlers for such an event, then the user agent must <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. (In the other cases, such as explicit seeks, relevant
+   events get fired as part of the overall process of changing the
+   current playback position.)</p>
 
    <p class=note>The event thus is not to be fired faster than about
    66Hz or slower than 4Hz. User agents are encouraged to vary the

Modified: source
===================================================================
--- source	2010-02-06 10:55:52 UTC (rev 4683)
+++ source	2010-02-10 02:14:17 UTC (rev 4684)
@@ -24782,8 +24782,9 @@
   <span>earliest possible position</span>, the user agent must <span
   title="dom-media-seek">seek</span> to the <span>earliest possible
   position</span>; otherwise, if the user agent has not fired a <code
-  title="event-media-timeupdate">timeupdate</code> event at the element in
-  the past 15 to 250ms, then the user agent must <span>queue a
+  title="event-media-timeupdate">timeupdate</code> event at the
+  element in the past 15 to 250ms and is not still running event
+  handlers for such an event, then the user agent must <span>queue a
   task</span> to <span>fire a simple event</span> named <code
   title="event-media-timeupdate">timeupdate</code> at the element.</p>
 
@@ -25627,13 +25628,14 @@
    <li><p>If the time was reached through the usual monotonic increase
    of the current playback position during normal playback, and if the
    user agent has not fired a <code
-   title="event-media-timeupdate">timeupdate</code> event at the element in
-   the past 15 to 250ms, then the user agent must <span>queue a
+   title="event-media-timeupdate">timeupdate</code> event at the
+   element in the past 15 to 250ms and is not still running event
+   handlers for such an event, then the user agent must <span>queue a
    task</span> to <span>fire a simple event</span> named <code
-   title="event-media-timeupdate">timeupdate</code> at the element. (In the
-   other cases, such as explicit seeks, relevant events get fired as
-   part of the overall process of changing the current playback
-   position.)</p>
+   title="event-media-timeupdate">timeupdate</code> at the
+   element. (In the other cases, such as explicit seeks, relevant
+   events get fired as part of the overall process of changing the
+   current playback position.)</p>
 
    <p class="note">The event thus is not to be fired faster than about
    66Hz or slower than 4Hz. User agents are encouraged to vary the




More information about the Commit-Watchers mailing list