Closed
Bug 1346627
Opened 7 years ago
Closed 6 years ago
"TypeError: this is undefined [Learn More]" can be improved
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1259822
People
(Reporter: peterbe, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
1.01 MB,
image/png
|
Details |
Attached is a screenshot showing the same error message in Firefox 54 and (in the background) Chrome 56. The Chrome error is vastly more helpful.
I suspect the JS team would need to improve this type of message.
Component: Developer Tools → JavaScript Engine
Product: Firefox → Core
Comment hidden (offtopic) |
Comment hidden (offtopic) |
Comment 4•7 years ago
|
||
we're throwing from ToObjectSlow, with ReportIsNullOrUndefined. maybe we could pass more context to ToObject* functions.
Updated•6 years ago
|
Priority: -- → P3
Comment 5•6 years ago
|
||
I cannot reproduce the error on the codepen tho, this should be fixed by bug 1259822 and bug 1488417.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•