Closed
Bug 418339
Opened 16 years ago
Closed 16 years ago
Errors on Events are not informative
Categories
(Toolkit Graveyard :: Error Console, defect)
Toolkit Graveyard
Error Console
Tracking
(Not tracked)
People
(Reporter: johnjbarton, Unassigned)
Details
Attachments
(1 file)
232 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12 The attached html file has a script: var d = document.createElement("div"); d.setAttribute("onclick", "throw 1"); d.innerHTML = "ClickMe"; document.body.appendChild(d); -- when the div is clicked the error message is: --- uncaught exception: 1 Line 0 -- There is no information that helps developers find the error or even a hint that the error happened in an event. Reproducible: Always Steps to Reproduce: 1. FF2.0.0.12 2. 3. The kinds of information that would help developers and should be easily available include: -- the body of the event handler: function onclick(event) {, throw 1;, } -- the call stack at the point of error -- the event that was being processed when the exception occurred. -- the element whose attribute contained the event handler. The call stack is the most important as it would allow the other stuff to be accessed.
Reporter | ||
Comment 1•16 years ago
|
||
Updated•16 years ago
|
OS: Windows XP → All
Hardware: PC → All
Updated•16 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•16 years ago
|
Product: Firefox → Toolkit
Assignee | ||
Updated•8 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•