Closed
Bug 913445
Opened 11 years ago
Closed 11 years ago
Print something less confusing than "null" for non-stringifiable values in the shell
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: till, Assigned: jorendorff)
Details
Attachments
(1 file)
9.46 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
In the shell, executing "Object.create(null)" prints "null". Ideally, we would instead print something that informs about the object not having toString and valueOf methods. To wit, d8 print "<string conversion failed>", which seems sensible to me.
Assignee | ||
Updated•11 years ago
|
Assignee: general → jorendorff
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #800785 -
Flags: review?(luke)
Updated•11 years ago
|
Attachment #800785 -
Flags: review?(luke) → review+
Assignee | ||
Comment 2•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/1a9a72fbdc59
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1a9a72fbdc59
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•