[html5] r6955 - [e] (0) Add a note about setTimeout() clearing the timer after running the task. [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 31 14:46:30 PST 2012


Author: ianh
Date: 2012-01-31 14:46:28 -0800 (Tue, 31 Jan 2012)
New Revision: 6955

Modified:
   complete.html
   index
   source
Log:
[e] (0) Add a note about setTimeout() clearing the timer after running the task.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15120
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-01-31 22:33:47 UTC (rev 6954)
+++ complete.html	2012-01-31 22:46:28 UTC (rev 6955)
@@ -69082,8 +69082,18 @@
 
    </li>
 
-   <li><p><a href=#queue-a-task title="queue a task">Queue</a> the <var title="">task</var> <a href=#concept-task title=concept-task>task</a>.</li>
+   <li>
 
+    <p><a href=#queue-a-task title="queue a task">Queue</a> the <var title="">task</var> <a href=#concept-task title=concept-task>task</a>.</p>
+
+    <p class=note>Once the task has been processed, it is safe to
+    remove the entry for <var title="">handle</var> from the
+    <a href=#list-of-active-timers>list of active timers</a> (there is no way for the
+    entry's existence to be detected past this point, so it does not
+    techncially matter one way or the other).</p>
+
+   </li>
+
   </ol><hr><p>The <dfn id=dom-windowtimers-setinterval title=dom-windowtimers-setInterval><code>setInterval()</code></dfn>
   method must run the following steps:
 

Modified: index
===================================================================
--- index	2012-01-31 22:33:47 UTC (rev 6954)
+++ index	2012-01-31 22:46:28 UTC (rev 6955)
@@ -69082,8 +69082,18 @@
 
    </li>
 
-   <li><p><a href=#queue-a-task title="queue a task">Queue</a> the <var title="">task</var> <a href=#concept-task title=concept-task>task</a>.</li>
+   <li>
 
+    <p><a href=#queue-a-task title="queue a task">Queue</a> the <var title="">task</var> <a href=#concept-task title=concept-task>task</a>.</p>
+
+    <p class=note>Once the task has been processed, it is safe to
+    remove the entry for <var title="">handle</var> from the
+    <a href=#list-of-active-timers>list of active timers</a> (there is no way for the
+    entry's existence to be detected past this point, so it does not
+    techncially matter one way or the other).</p>
+
+   </li>
+
   </ol><hr><p>The <dfn id=dom-windowtimers-setinterval title=dom-windowtimers-setInterval><code>setInterval()</code></dfn>
   method must run the following steps:
 

Modified: source
===================================================================
--- source	2012-01-31 22:33:47 UTC (rev 6954)
+++ source	2012-01-31 22:46:28 UTC (rev 6955)
@@ -80769,10 +80769,19 @@
 
    </li>
 
-   <li><p><span title="queue a task">Queue</span> the <var
-   title="">task</var> <span
-   title="concept-task">task</span>.</p></li>
+   <li>
 
+    <p><span title="queue a task">Queue</span> the <var
+    title="">task</var> <span title="concept-task">task</span>.</p>
+
+    <p class="note">Once the task has been processed, it is safe to
+    remove the entry for <var title="">handle</var> from the
+    <span>list of active timers</span> (there is no way for the
+    entry's existence to be detected past this point, so it does not
+    techncially matter one way or the other).</p>
+
+   </li>
+
   </ol>
 
   <hr>




More information about the Commit-Watchers mailing list