Closed
Bug 95629
Opened 24 years ago
Closed 24 years ago
setTimeout or setInterval throw an exception
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: javabsp, Assigned: jst)
Details
Attachments
(1 file)
|
381 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801
BuildID: 2001080104
When I use setTimeout in my script, the script terminates. error show up in the
javascript console. If I try to evaluate "setTimeout(50)"(number doesn't
matter), the following shows up:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.setTimeout]" nsresult:
"0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: <unknown filename> ::
<TOP_LEVEL> :: line 0" data: no]
//end
Reproducible: Always
Steps to Reproduce:
1.creat a new script in a html page
2.call setTimeout with a timeout time
3.do someother thing with javascript
Actual Results: an exception is thrown and the script terminates
Expected Results: execute the code after setTimeout
Comment 1•24 years ago
|
||
--> DOM Level 0
javabsp@yahoo.com: could you attach a reduced HTML testcase to this bug?
(via the "Create a new attachment" link above).
Thanks; that will speed things along -
Assignee: rogerl → jst
Status: UNCONFIRMED → NEW
Component: Javascript Engine → DOM Level 0
Ever confirmed: true
QA Contact: pschwartau → desale
| Reporter | ||
Comment 2•24 years ago
|
||
| Reporter | ||
Comment 3•24 years ago
|
||
sorry, this is not a bug really, I found out that this to be really a syntax error.
Sorry again...
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•