Closed
Bug 1488261
Opened 7 years ago
Closed 7 years ago
Update InvalidStateError to include a stack trace and line number.
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: michiel, Unassigned)
Details
Attachments
(1 file)
126 bytes,
text/html
|
Details |
Currently when "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable" is thrown, it might as well read "InvalidStateError: Glad I'm not you!" as it is generated without any stack trace or reference to which line of user code actually triggered it. This makes it entirely impossible to track down user code bugs and fix them.
Updated•7 years ago
|
Component: General → DOM
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Attachment #9015929 -
Attachment mime type: text/plain → text/html
Comment 2•7 years ago
|
||
WFM, attached testcase alerts a non-empty stack property.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Resolution: INVALID → WORKSFORME
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•