Closed Bug 240779 Opened 22 years ago Closed 21 years ago

window.setInterval is much too fast

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED EXPIRED

People

(Reporter: hnes_k, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7b) Gecko/20040316 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7b) Gecko/20040316 on http://games.yucca-net.de/snake/ the movement of the snakes is first ok, then they are running, ( I think like setInterval(...,0)) Reproducible: Always Steps to Reproduce: 1. go to http://games.yucca-net.de/snake/ 2. click 'los geht's' (sorry, but it needs both pages) 3. watch the snakes run Actual Results: its too fast Expected Results: they should move every x milliseconds , x>0
in this testcase every 10 seconds the number in the statusbar should be incremented, but it increments somtetimes correct, but most of the time in highspeed
maybe about:buildconfig is interesting Build platform target i586-pc-msvc Build tools Compiler Version Compiler flags $(CYGWIN_WRAPPER) cl 12.00.8804 -TC -nologo -W3 -nologo -Gy -Fd$(PDBFILE) $(CYGWIN_WRAPPER) cl 12.00.8804 -TP -nologo -W3 -nologo -Gy -Fd$(PDBFILE) -I/usr/X11R6/include Configure arguments --without-system-jpg --without-system-zlib --enable-extensions=default,irc,tasks --enable-crypto --disable-auto-deps --disable-debug --enable-optimize=-O1
Summary: window.setInterval is much too fast → window.setInterval is much too fast
Sounds like a problem with timers in the cygwin build? I doubt that's DOM.... This page and testcase both workforme in a Linux build.
Seems specific to the cygwin build -- compiler bug? What is used to emulate PRIntervalTime functions there? /be
> Compiler Version Compiler flags > $(CYGWIN_WRAPPER) cl 12.00.8804 -TC -nologo -W3 -nologo -Gy -Fd$(PDBFILE) That's not a cygwin (or mingw) build. That's a MSVC 6 build.
maybe it's a dupe of http://bugzilla.mozilla.org/show_bug.cgi?id=184263 because the problem occurs with meta refresh, too, and i have OS: Microsoft Windows 2000 Professional Version 5.0.2195 Service Pack 1 Build 2195 Prozessor x86 Family 6 Model 7 Stepping 3 GenuineIntel ~500 MHz
Depends on: 187512
I'm having the same issue, running firefox 1.0.2 on Windows 2000 Pro Service Pack 4, and so is everybody else in my office. And the same behavior happens on my home machine as well. This is definitely a real bug.
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → EXPIRED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: