Closed Bug 581072 Opened 10 years ago Closed 10 years ago
Timeouts fire too early if suspended and then resumed
This is a regression from bug 558306. I switched the sign on the subtraction when suspending timers, so instead of setting a positive delay we set a negative one, and then the timers fire too early, of course. Fix coming up.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b3
We should probably document the new API added here: 3.16 + 3.17 + /** 3.18 + * Suspend/resume timeouts on this window and its descendant windows. 3.19 + */ 3.20 + void suspendTimeouts(); 3.21 + void resumeTimeouts(); on nsIDOMWindowUtils.
bz, you win bonus points for specifically listing the items that need documenting. The new methods have been documented: https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIDOMWindowUtils
Well, without listing them the bug gave no idea of what the new stuff is, right? ;)
You need to log in before you can comment on or make changes to this bug.