hixie: Prevent 'timeupdate' from firing faster than it is handled. (whatwg r4684)

hixie: Prevent 'timeupdate' from firing faster than it is handled.
(whatwg r4684)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3737&r2=1.3738&f=h
http://html5.org/tools/web-apps-tracker?from=4683&to=4684

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3737
retrieving revision 1.3738
diff -u -d -r1.3737 -r1.3738
--- Overview.html 6 Feb 2010 10:55:58 -0000 1.3737
+++ Overview.html 10 Feb 2010 02:14:23 -0000 1.3738
@@ -281,7 +281,7 @@
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
 
-   <h2 class="no-num no-toc" id="editor-s-draft-6-february-2010">Editor's Draft 6 February 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-10-february-2010">Editor's Draft 10 February 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -389,7 +389,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 6 February 2010 Editor's Draft.
+  This specification is the 10 February 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a
   larger specification</a> being produced by the <a href="http://www.whatwg.org/">WHATWG</a>, which is available under a
   license that permits reuse of the specification text.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><!-- (this text is from the RDFa+HTML spec --><p>This specification is an extension to the HTML5 language. All
@@ -19907,8 +19907,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
@@ -20589,12 +20590,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

Received on Wednesday, 10 February 2010 02:15:10 UTC