Closed Bug 312972 Opened 19 years ago Closed 19 years ago

after ~12h of running setTimeout("myfunc()",5000) changes ~ 10 requests per second

Categories

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

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 291386

People

(Reporter: gacha, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20051003 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20051003 Firefox/1.0.6

I have a page where every 5 seconds changes some information with
XMLHttpRequest(), all works great, but when this page runs ~12h (firefox ->
Plasma TV) the information changes 10 times per second, javascript doesn't give
any errors.

Reproducible: Always

Steps to Reproduce:
1. Run the script ~12h

Actual Results:  
timout function runs every 0.1 second.

Expected Results:  
every 5 second
->Core:DOM 0
Assignee: nobody → general
Component: General → DOM: Level 0
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
This error also is on Windows.
bug 291386 ? (wild guess)
Yes it is, but is there any workaround of this problem? 
-> DUPE
Try the Mozillazine forums: http://forums.mozillazine.org/

*** This bug has been marked as a duplicate of 291386 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
(Note that bug 318419 comments 6/8 say that setTimeout shouldn't suffer from that problem)
You need to log in before you can comment on or make changes to this bug.