Closed Bug 293855 Opened 20 years ago Closed 20 years ago

Javascript Setinterval Timer Inaccurate, irregular.

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: info, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

The website gradually opens a page using setinterval ..

The time it takes to open the page varies with Firefox. Setting the timer to
more than 50ms seems to help, but then the scrolling increment make the
animation 'jerky'.

It works correctly in IE with a 10ms timer and I get a smooth window transition,
as planned.

By the way I think Firefox is a greay browser !
       Keep up the good work ...



  

Reproducible: Always

Steps to Reproduce:
1. Run the uri .. 
2. 
3.

Actual Results:  
Curtain opening in a series of jumps instead of smoothly. Uping the timer
interval and lowering the open increment / timer hit does not help ..


 I'm sure it's a setinterval problem.
wFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050511
Firefox/1.0+

On my slow work computer the animation is faster and smoother that IE6. --> wfm

Please reopen if you can reproduce with a nightly trunk build. 1.0.3 is using a
1 year old layout engine
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Summary: Javascript Setinterval Timer Inaccurate, irregular. → Javascript Setinterval Timer Inaccurate, irregular.
You can find trunk build for testing here:
ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Status: RESOLVED → VERIFIED
I seem to have verified wfm by mistake...
(In reply to comment #3)
> I seem to have verified wfm by mistake...

Apologies, ..

I have reinstalled FireFox and SetInterval seems to be correct now ..

The curtain moves smoothly rathet than in a series of short hops ..

Chris.  

You need to log in before you can comment on or make changes to this bug.