[html5] r6732 - [giow] (2) Fix a race condition between setting src and firing onload for <track [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Oct 24 10:29:25 PDT 2011
Author: ianh
Date: 2011-10-24 10:29:24 -0700 (Mon, 24 Oct 2011)
New Revision: 6732
Modified:
complete.html
index
source
Log:
[giow] (2) Fix a race condition between setting src and firing onload for <track>.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14378
Modified: complete.html
===================================================================
--- complete.html 2011-10-24 17:11:51 UTC (rev 6731)
+++ complete.html 2011-10-24 17:29:24 UTC (rev 6732)
@@ -31418,8 +31418,10 @@
<i>monitoring</i>.</p>
<p>If the <a href=#fetch title=fetch>fetching algorithm</a> does not
- fail, then, when it completes, <a href=#queue-a-task>queue a task</a> to run
- the following steps:</p>
+ fail, then the final <a href=#concept-task title=concept-task>task</a> that
+ is <a href=#queue-a-task title="queue a task">queued</a> by the
+ <a href=#networking-task-source>networking task source</a> must run the following
+ steps:</p>
<ol><li><p>Change the <a href=#text-track-readiness-state>text track readiness state</a> to
<a href=#text-track-loaded title="text track loaded">loaded</a>.</li>
@@ -31442,10 +31444,9 @@
</li>
- </ol><p>Once that <a href=#concept-task title=concept-task>task</a> is <a href=#queue-a-task title="queue a task">queued</a>, move on to the step below
- labeled <i>monitoring</i>.</p>
+ <li><p>Jump to the step below labeled <i>monitoring</i>.</li>
- <p>If, while the <a href=#fetch title=fetch>fetching algorithm</a> is
+ </ol><p>If, while the <a href=#fetch title=fetch>fetching algorithm</a> is
active, either:</p>
<ul><li>the <a href=#track-url>track URL</a> changes so that it is no longer
@@ -31462,13 +31463,10 @@
</ul><p>...then the user agent must run the following steps:</p>
- <ol><li><p>Abort the <a href=#fetch title=fetch>fetching
- algorithm</a>.</li>
+ <ol><li><p>Abort the <a href=#fetch title=fetch>fetching algorithm</a>,
+ discarding any pending <a href=#concept-task title=concept-task>tasks</a>
+ generated by that algorithm.</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-abort>abort</code> at
- the <code><a href=#the-track-element>track</a></code> element.</li>
-
<li><p>Let <var title="">URL</var> be the new <a href=#track-url>track
URL</a>.</li>
Modified: index
===================================================================
--- index 2011-10-24 17:11:51 UTC (rev 6731)
+++ index 2011-10-24 17:29:24 UTC (rev 6732)
@@ -31418,8 +31418,10 @@
<i>monitoring</i>.</p>
<p>If the <a href=#fetch title=fetch>fetching algorithm</a> does not
- fail, then, when it completes, <a href=#queue-a-task>queue a task</a> to run
- the following steps:</p>
+ fail, then the final <a href=#concept-task title=concept-task>task</a> that
+ is <a href=#queue-a-task title="queue a task">queued</a> by the
+ <a href=#networking-task-source>networking task source</a> must run the following
+ steps:</p>
<ol><li><p>Change the <a href=#text-track-readiness-state>text track readiness state</a> to
<a href=#text-track-loaded title="text track loaded">loaded</a>.</li>
@@ -31442,10 +31444,9 @@
</li>
- </ol><p>Once that <a href=#concept-task title=concept-task>task</a> is <a href=#queue-a-task title="queue a task">queued</a>, move on to the step below
- labeled <i>monitoring</i>.</p>
+ <li><p>Jump to the step below labeled <i>monitoring</i>.</li>
- <p>If, while the <a href=#fetch title=fetch>fetching algorithm</a> is
+ </ol><p>If, while the <a href=#fetch title=fetch>fetching algorithm</a> is
active, either:</p>
<ul><li>the <a href=#track-url>track URL</a> changes so that it is no longer
@@ -31462,13 +31463,10 @@
</ul><p>...then the user agent must run the following steps:</p>
- <ol><li><p>Abort the <a href=#fetch title=fetch>fetching
- algorithm</a>.</li>
+ <ol><li><p>Abort the <a href=#fetch title=fetch>fetching algorithm</a>,
+ discarding any pending <a href=#concept-task title=concept-task>tasks</a>
+ generated by that algorithm.</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-abort>abort</code> at
- the <code><a href=#the-track-element>track</a></code> element.</li>
-
<li><p>Let <var title="">URL</var> be the new <a href=#track-url>track
URL</a>.</li>
Modified: source
===================================================================
--- source 2011-10-24 17:11:51 UTC (rev 6731)
+++ source 2011-10-24 17:29:24 UTC (rev 6732)
@@ -34267,8 +34267,10 @@
<i>monitoring</i>.</p>
<p>If the <span title="fetch">fetching algorithm</span> does not
- fail, then, when it completes, <span>queue a task</span> to run
- the following steps:</p>
+ fail, then the final <span title="concept-task">task</span> that
+ is <span title="queue a task">queued</span> by the
+ <span>networking task source</span> must run the following
+ steps:</p>
<ol>
@@ -34293,12 +34295,10 @@
</li>
+ <li><p>Jump to the step below labeled <i>monitoring</i>.</p></li>
+
</ol>
- <p>Once that <span title="concept-task">task</span> is <span
- title="queue a task">queued</span>, move on to the step below
- labeled <i>monitoring</i>.</p>
-
<p>If, while the <span title="fetch">fetching algorithm</span> is
active, either:</p>
@@ -34324,13 +34324,10 @@
<ol>
- <li><p>Abort the <span title="fetch">fetching
- algorithm</span>.</p></li>
+ <li><p>Abort the <span title="fetch">fetching algorithm</span>,
+ discarding any pending <span title="concept-task">tasks</span>
+ generated by that algorithm.</p></li>
- <li><p><span>Queue a task</span> to <span>fire a simple
- event</span> named <code title="event-abort">abort</code> at
- the <code>track</code> element.</p></li>
-
<li><p>Let <var title="">URL</var> be the new <span>track
URL</span>.</p></li>
More information about the Commit-Watchers
mailing list