Closed Bug 469132 Opened 17 years ago Closed 17 years ago

javascript setTimeout timers stop functioning when host system time date or clock is changed

Categories

(Core :: General, defect)

1.9.0 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 410706

People

(Reporter: user60135383, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc9 Firefox/3.0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111217 Fedora/3.0.4-1.fc9 Firefox/3.0.4 Timers created using Javascripts setTimeout() function will stop working when the computers clock is changed. Reproducible: Always Steps to Reproduce: 1. create a timer in the onLoad function eg. setTimeout("myfunction", 1000); 2. call the function from itself, eg function myfunction() { // do something; setTimeout("myfunction",1000); } so now its running each second 3. change your computers time and it'll stop running Actual Results: The timer is no longer running. Expected Results: Timers should continue to run. It might be acceptable if the currently running timer reset, or completed immediately, but it is clearly screwed up if it stops working altogether Occasionally the timer has begun running again. Small changes in the time (one minute) sometimes work, larger jumps (minutes, hours, days) will reproduce this bug.
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.9.0 Branch
I have to say this seems like a dupe of bug #410706 to me
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.