[Webkit-unassigned] [Bug 119292] New: window.clearInterval() clears actions registered with window.setTimeout() (and vice versa)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 16:27:28 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119292

           Summary: window.clearInterval() clears actions registered with
                    window.setTimeout() (and vice versa)
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: BlinkMergeCandidate, InChromiumBugs
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: ap at webkit.org, andersca at apple.com, sam at webkit.org,
                    koivisto at iki.fi, simon.fraser at apple.com,
                    akling at apple.com


Copied from https://code.google.com/p/chromium/issues/detail?id=230705

hrome Version       : 26.0.1410.64
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5: OK
  Firefox 4.x: OK
       IE 7/8/9: OK

What steps will reproduce the problem?
1.window.setTimeout(function() {console.log(1)}, 1000);
2.window.clearInterval(true);

What is the expected result?
The console will print 1 after 1 second;

What happens instead?
Nothing printed. It seems that clearInterval(true) also clear all timeout!

That's simple javascript codes between <script></script> tags.

This bug has been fixed in Blink by https://chromium.googlesource.com/chromium/blink/+/dd327a07299731cf26b0854511be9307b8a5e2d6

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list