Bug 55417

Summary: RunLoop::Timer fires 1000x too early on Windows
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: PlatformAssignee: Adam Roben (:aroben) <aroben>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca
Priority: P2 Keywords: InRadar, PlatformOnly
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Bug Depends on:    
Bug Blocks: 51262    
Attachments:
Description Flags
Convert seconds to milliseconds before calling ::SetTimer andersca: review+

Adam Roben (:aroben)
Reported 2011-02-28 15:18:51 PST
RunLoop::Timer fires 1000x too early on Windows. We're making a seconds vs. milliseconds conversion error. Right now this only affects the responsiveness timer (all other timers are 0-delay).
Attachments
Convert seconds to milliseconds before calling ::SetTimer (17.91 KB, patch)
2011-03-01 07:25 PST, Adam Roben (:aroben)
andersca: review+
Adam Roben (:aroben)
Comment 1 2011-02-28 15:20:07 PST
This is blocking bug 51262, which wants to add a new non-0-delay timer.
Adam Roben (:aroben)
Comment 2 2011-02-28 15:20:39 PST
Adam Roben (:aroben)
Comment 3 2011-03-01 07:25:38 PST
Created attachment 84228 [details] Convert seconds to milliseconds before calling ::SetTimer
Adam Roben (:aroben)
Comment 4 2011-03-01 07:30:27 PST
Note You need to log in before you can comment on or make changes to this bug.