RESOLVED FIXED 49453
Web Inspector: console can not shows object without prototype `console.log(Object.create(null))`
https://bugs.webkit.org/show_bug.cgi?id=49453
Summary Web Inspector: console can not shows object without prototype `console.log(Ob...
bga_
Reported 2010-11-12 10:23:47 PST
topic Instead it exception occurs "[ Exception: TypeError: Cannot convert object to primitive value ]".
Attachments
kangax
Comment 1 2011-01-27 10:26:20 PST
Note that this also happens with `console.log({ __proto__: null })` of course (since inspected object doesn't have [[Prototype]]). I wonder if it would make sense to differentiate between "regular" Object objects and objects with null'd [[Prototype]], when displaying in console.
kangax
Comment 2 2013-12-10 01:54:06 PST
This no longer happens. Should be closed.
Note You need to log in before you can comment on or make changes to this bug.