clearInterval does not function correctly within a web worker.

RESOLVED FIXED

Status

()

Firefox
General
RESOLVED FIXED
9 years ago
7 years ago

People

(Reporter: peter braden, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CLOSEME 2011-1-1], URL)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2

clearInterval has no effect within a web worker - it does not clear the specified interval.

Unfortunately, my code is not ready for launch yet, so I can't show you.

Reproducible: Always

Steps to Reproduce:
1.I think you'd have to create a web worker and experiment with intervals within it.
2.
3.



It can be worked around by manually setting a boolean value and checking within the interval, however this means that the interval persists, and in my code which generates intervals programmatically, after a while this builds up.
Reporter, are you still seeing this issue with Firefox 3.6.12 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Also, please consider using the most recent Firefox 4 beta build, your bug may be resolved there.
Whiteboard: [CLOSEME 2011-1-1]
(Reporter)

Updated

7 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.