Web Workers: importScripts exception causes setTimeout to continue firing

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
8 years ago
8 years ago

People

(Reporter: khs4473, Unassigned)

Tracking

3.6 Branch
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 years ago
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.
(Reporter)

Comment 1

8 years ago
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
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.