This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html Multipage: http://www.whatwg.org/C#timers Complete: http://www.whatwg.org/c#timers Comment: It looks like you can pass the return value of setInterval to clearTimeout Posted from: 91.181.139.95 by ms2ger@gmail.com User agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0a1) Gecko/20111001 Firefox/10.0a1
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1261
and vice versa
This also means that the return value for setTimeout and setInterval need to use the same counter.
Well that's just silly.
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Accepted Change Description: see diff given below Rationale: Concurred with reporter's comments.
Checked in as WHATWG revision r6949. Check-in comment: Turns out clearTimeout() and clearInterval() are synonyms! Who knew? Oh what a tangled Web we weave. http://html5.org/tools/web-apps-tracker?from=6948&to=6949
Silly stuff.