Short URL: http://html5.org/r/5714
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 5714 | Clarify what stopping a task means. | 2010-12-08 20:50 |
Index: source
===================================================================
--- source (revision 5713)
+++ source (revision 5714)
@@ -72042,9 +72042,12 @@
<code>Document</code>s are not <span>fully active</span>. The user
agent may pick any <span>task queue</span>.</p></li>
+ <!-- warning! if you renumber these steps, make sure to update the
+ "spin the event loop" algorith below! -->
+
<li><p>If the <span>storage mutex</span> is now owned by the
<span>event loop</span>, release it so that it is once again
- free.</p>
+ free.</p></li>
<li><p>Remove that task from its <span>task queue</span>.</p></li>
@@ -72081,11 +72084,18 @@
source</span> of the currently running <span
title="concept-task">task</span>.</p></li>
- <li><p>Stop the currently running <span
- title="concept-task">task</span>, allowing the <span>event
- loop</span> to resume, but continue these steps
- asynchronously.</p></li>
+ <li>
+ <p>Stop the currently running <span
+ title="concept-task">task</span>, allowing the <span>event
+ loop</span> to resume, but continue these steps
+ asynchronously.</p>
+
+ <p class="note">This causes the <span>event loop</span> to move on
+ to the second step of its processing model (defined above).</p>
+
+ </li>
+
<li><p>Wait until the condition <var title="">goal</var> is
met.</p></li>