<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>18034</bug_id>
          
          <creation_ts>2012-07-18 16:01:51 +0000</creation_ts>
          <short_desc>It would appear that setTimeout()&apos;s algorithm doesn&apos;t ever actually check whether the task is still in the list of active timeouts, and doesn&apos;t remove the timeout from the list of active timeouts. Similarly with setInterval().</short_desc>
          <delta_ts>2013-04-26 12:55:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#timers</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70536</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 16:01:51 +0000</bug_when>
    <thetext>This was was cloned from bug 15120 as part of operation convergence.
Originally filed: 2011-12-08 22:46:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2011-12-08 22:46:10 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#timers
Complete: http://www.whatwg.org/c#timers

Comment:
It would appear that setTimeout()&apos;s algorithm doesn&apos;t ever actually check
whether the task is still in the list of active timeouts, and doesn&apos;t remove
the timeout from the list of active timeouts. Similarly with setInterval().

Posted from: 2620:0:1000:147d:fa1e:dfff:fedd:ce8d by ian@hixie.ch
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/535.8 (KHTML, like Gecko) Chrome/17.0.942.0 Safari/535.8
================================================================================
 #1   Ian &apos;Hixie&apos; Hickson                             2012-01-31 22:46:11 +0000 
--------------------------------------------------------------------------------
The check is in the task algorithm, it turns out. And setInterval() shouldn&apos;t clear it. But I added a note in setTimeout()&apos;s algorithm about this.
================================================================================
 #2   contributor@whatwg.org                          2012-01-31 22:47:11 +0000 
--------------------------------------------------------------------------------
Checked in as WHATWG revision r6955.
Check-in comment: Add a note about setTimeout() clearing the timer after running the task.
http://html5.org/tools/web-apps-tracker?from=6954&amp;to=6955
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72213</commentid>
    <comment_count>1</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2012-08-15 17:13:16 +0000</bug_when>
    <thetext>Filter on [Idon&apos;tcareaboutHTMLWGbugspam].</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86858</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-04-26 12:55:51 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;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:
https://github.com/w3c/html/commit/71b60837560672cd1e5af12f9229af46c5a89273

Rationale: was already fixed before the split with WHATWG, so has the same fix</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>