Bug 55014

Summary: Per-page minimum DOMTimer interval broken for repeating timers
Product: WebKit Reporter: Kenneth Russell <kbr>
Component: WebCore Misc.Assignee: Kenneth Russell <kbr>
Status: RESOLVED FIXED    
Severity: Normal CC: fishd, jamesr, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 54312    
Bug Blocks:    
Attachments:
Description Flags
Patch fishd: review+, kbr: commit-queue-

Kenneth Russell
Reported 2011-02-22 19:20:59 PST
The logic added in https://bugs.webkit.org/show_bug.cgi?id=54312 is broken for the case of repeating timers, i.e., those set via setInterval() rather than setTimeout(). The error occurs when the minimum interval is decreased and the timer's repeat interval has already been clamped to the larger value. The current code fails to decrease the repeat interval, leaving the timer running at the slower rate.
Attachments
Patch (7.48 KB, patch)
2011-02-22 19:42 PST, Kenneth Russell
fishd: review+
kbr: commit-queue-
Kenneth Russell
Comment 1 2011-02-22 19:42:55 PST
Kenneth Russell
Comment 2 2011-02-23 10:00:29 PST
Note You need to log in before you can comment on or make changes to this bug.