Skip to content

Commit

Permalink
[e] (0) Add a note about setTimeout() clearing the timer after runnin…
Browse files Browse the repository at this point in the history
…g the task.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15120
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@6955 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 31, 2012
1 parent 8a3b3a7 commit d243048
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 5 deletions.
12 changes: 11 additions & 1 deletion complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -69082,7 +69082,17 @@ <h3 id=timers><span class=secno>7.3 </span>Timers</h3>

</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:
Expand Down
12 changes: 11 additions & 1 deletion index
Original file line number Diff line number Diff line change
Expand Up @@ -69082,7 +69082,17 @@ setTimeout({ toString: function () {

</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:
Expand Down
15 changes: 12 additions & 3 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -80769,9 +80769,18 @@ setTimeout({ toString: function () {

</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>

Expand Down

0 comments on commit d243048

Please sign in to comment.