RESOLVED DUPLICATE of bug 142837 Bug 61214
Set project-wide DOMTimerInterval default to 4ms, for use by all ports
https://bugs.webkit.org/show_bug.cgi?id=61214
Summary Set project-wide DOMTimerInterval default to 4ms, for use by all ports
Matthew Delaney
Reported 2011-05-20 13:56:47 PDT
My understanding is that all ports either are currently manually setting the default to 4ms, or would like to be. Thus, we should just make the global default to be 4ms and then those who would like to opt-out of such high frequency timers can manually set the min interval to be larger. There also appears to be a lot of code that could be refactored/cleaned-up here. This bug should address all of this.
Attachments
Alexey Proskuryakov
Comment 1 2011-09-02 22:18:56 PDT
*** Bug 67501 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 2 2011-09-02 22:20:13 PDT
It doesn't seem like other ports chose to make this change. Not sure if that's intentional, or they just didn't get to it yet.
Srikumar B
Comment 3 2011-09-06 13:15:27 PDT
Alexey, The w3 standard says that the minimum should be 4ms right...Could you tell me which ports are not defining the minimal interval? I will try to make the changes for those ports. (In reply to comment #2) > It doesn't seem like other ports chose to make this change. Not sure if that's intentional, or they just didn't get to it yet.
Alexey Proskuryakov
Comment 4 2011-09-06 13:48:46 PDT
You van grep the sources for ports that don't call setDefaultMinTimerInterval.
Chris Dumez
Comment 5 2015-03-18 20:33:40 PDT
Chris Dumez
Comment 6 2015-03-18 20:35:40 PDT
Marking this bug as a duplicate even though it is older, as I already uploaded the patch to the other bug report. *** This bug has been marked as a duplicate of bug 142837 ***
Note You need to log in before you can comment on or make changes to this bug.