[html5] r6824 - [giow] (0) For MediaController, we need to fire all the events when the state in [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Nov 10 16:55:56 PST 2011
Author: ianh
Date: 2011-11-10 16:55:55 -0800 (Thu, 10 Nov 2011)
New Revision: 6824
Modified:
complete.html
index
source
Log:
[giow] (0) For MediaController, we need to fire all the events when the state increases, otherwise scripts will miss steps when the network is particularly fast.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14731
Modified: complete.html
===================================================================
--- complete.html 2011-11-11 00:36:40 UTC (rev 6823)
+++ complete.html 2011-11-11 00:55:55 UTC (rev 6824)
@@ -30446,12 +30446,30 @@
<li>
<p>If the <code><a href=#mediacontroller>MediaController</a></code>'s <a href=#most-recently-reported-readiness-state>most recently
- reported readiness state</a> is not equal to <var title="">new
- readiness state</var> then <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire
- a simple event</a> at the <code><a href=#mediacontroller>MediaController</a></code> object,
- whose name is the event name corresponding to the value of <var title="">new readiness state</var> given in the table below:</p>
- <!-- hopefully everyone will understand what this means -->
+ reported readiness state</a> is less than the <var title="">new
+ readiness state</var>, then run these substeps:</p>
+ <ol><li><p>Let <var title="">next state</var> be the
+ <code><a href=#mediacontroller>MediaController</a></code>'s <a href=#most-recently-reported-readiness-state>most recently reported
+ readiness state</a>.</li>
+
+ <li><p><i>Loop</i>: Increment <var title="">next state</var> by
+ one.</li>
+
+ <li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
+ event</a> at the <code><a href=#mediacontroller>MediaController</a></code> object, whose
+ name is the event name corresponding to the value of <var title="">next state</var> given in the table below.</li>
+
+ <li><p>If <var title="">next state</var> is less than <var title="">new readiness state</var>, then return to the step
+ labeled <i>loop</i>.</li>
+
+ </ol><p>Otherwise, if the <code><a href=#mediacontroller>MediaController</a></code>'s <a href=#most-recently-reported-readiness-state>most
+ recently reported readiness state</a> is greater than <var title="">new readiness state</var> then <a href=#queue-a-task>queue a task</a>
+ to <a href=#fire-a-simple-event>fire a simple event</a> at the
+ <code><a href=#mediacontroller>MediaController</a></code> object, whose name is the event name
+ corresponding to the value of <var title="">new readiness
+ state</var> given in the table below.</p>
+
<table><thead><tr><th>Value of <var title="">new readiness state</var>
<th>Event name
Modified: index
===================================================================
--- index 2011-11-11 00:36:40 UTC (rev 6823)
+++ index 2011-11-11 00:55:55 UTC (rev 6824)
@@ -30446,12 +30446,30 @@
<li>
<p>If the <code><a href=#mediacontroller>MediaController</a></code>'s <a href=#most-recently-reported-readiness-state>most recently
- reported readiness state</a> is not equal to <var title="">new
- readiness state</var> then <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire
- a simple event</a> at the <code><a href=#mediacontroller>MediaController</a></code> object,
- whose name is the event name corresponding to the value of <var title="">new readiness state</var> given in the table below:</p>
- <!-- hopefully everyone will understand what this means -->
+ reported readiness state</a> is less than the <var title="">new
+ readiness state</var>, then run these substeps:</p>
+ <ol><li><p>Let <var title="">next state</var> be the
+ <code><a href=#mediacontroller>MediaController</a></code>'s <a href=#most-recently-reported-readiness-state>most recently reported
+ readiness state</a>.</li>
+
+ <li><p><i>Loop</i>: Increment <var title="">next state</var> by
+ one.</li>
+
+ <li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
+ event</a> at the <code><a href=#mediacontroller>MediaController</a></code> object, whose
+ name is the event name corresponding to the value of <var title="">next state</var> given in the table below.</li>
+
+ <li><p>If <var title="">next state</var> is less than <var title="">new readiness state</var>, then return to the step
+ labeled <i>loop</i>.</li>
+
+ </ol><p>Otherwise, if the <code><a href=#mediacontroller>MediaController</a></code>'s <a href=#most-recently-reported-readiness-state>most
+ recently reported readiness state</a> is greater than <var title="">new readiness state</var> then <a href=#queue-a-task>queue a task</a>
+ to <a href=#fire-a-simple-event>fire a simple event</a> at the
+ <code><a href=#mediacontroller>MediaController</a></code> object, whose name is the event name
+ corresponding to the value of <var title="">new readiness
+ state</var> given in the table below.</p>
+
<table><thead><tr><th>Value of <var title="">new readiness state</var>
<th>Event name
Modified: source
===================================================================
--- source 2011-11-11 00:36:40 UTC (rev 6823)
+++ source 2011-11-11 00:55:55 UTC (rev 6824)
@@ -33135,13 +33135,37 @@
<li>
<p>If the <code>MediaController</code>'s <span>most recently
- reported readiness state</span> is not equal to <var title="">new
- readiness state</var> then <span>queue a task</span> to <span>fire
- a simple event</span> at the <code>MediaController</code> object,
- whose name is the event name corresponding to the value of <var
- title="">new readiness state</var> given in the table below:</p>
- <!-- hopefully everyone will understand what this means -->
+ reported readiness state</span> is less than the <var title="">new
+ readiness state</var>, then run these substeps:</p>
+ <ol>
+
+ <li><p>Let <var title="">next state</var> be the
+ <code>MediaController</code>'s <span>most recently reported
+ readiness state</span>.</p></li>
+
+ <li><p><i>Loop</i>: Increment <var title="">next state</var> by
+ one.</p></li>
+
+ <li><p><span>Queue a task</span> to <span>fire a simple
+ event</span> at the <code>MediaController</code> object, whose
+ name is the event name corresponding to the value of <var
+ title="">next state</var> given in the table below.</p></li>
+
+ <li><p>If <var title="">next state</var> is less than <var
+ title="">new readiness state</var>, then return to the step
+ labeled <i>loop</i>.</p></li>
+
+ </ol>
+
+ <p>Otherwise, if the <code>MediaController</code>'s <span>most
+ recently reported readiness state</span> is greater than <var
+ title="">new readiness state</var> then <span>queue a task</span>
+ to <span>fire a simple event</span> at the
+ <code>MediaController</code> object, whose name is the event name
+ corresponding to the value of <var title="">new readiness
+ state</var> given in the table below.</p>
+
<table>
<thead>
<tr>
More information about the Commit-Watchers
mailing list