Closed Bug 613222 Opened 14 years ago Closed 13 years ago

Web Workers: importScripts exception causes setTimeout to continue firing

Categories

(Firefox :: General, defect)

3.6 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: khs4473, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

From a Web Worker, if importScripts is called from a setTimeout callback, and the script to be imported does not exist, the setTimeout callback continues to fire.

Reproducible: Always

Steps to Reproduce:
Please see:

http://www.flyscript.org/worker-bug/index.html
http://www.flyscript.org/worker-bug/worker.js
Actual Results:  
The setTimeout callback continues to fire.

Expected Results:  
The callback should only be called once.
I have seen this behavior in Win/Mac and with FF4 beta 7.
Version: unspecified → 3.6 Branch
Should be fixed with bug 649537.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.