Scratchpad fails to provide any feedback on objects that inherit from `null`

RESOLVED DUPLICATE of bug 807924

Status

P3
normal
RESOLVED DUPLICATE of bug 807924
7 years ago
5 months ago

People

(Reporter: irakli, Unassigned)

Tracking

Trunk
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

For example executing following will give no feedback:

Object.create(null)

That's because Object.create(null) + 'foo' will throw. Correct way of doing that would be:

((value && !('toString' in value)) ? Object.prototype.toString.call(value) : value) + 'foo'
this should go away when we move to using the debug protocol.

Filter on BLACKEAGLE?!
Priority: -- → P3
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 807924

Updated

5 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.