[Bug 26179] toString should be non enumerable


--- Comment #5 from Erik Arvidsson <arv@google.com> ---
(In reply to Boris Zbarsky from comment #3)
> > document.createElement('a').propertyIsEnumerable('toString')
> The property is not a property on the element itself.  It's a property on
> the prototype.  Nonexistent properties report "false" from
> propertyIsEnumerable (see ES6 step 7).  You'd get false for
> document.createElement('a').propertyIsEnumerable('oblongify') too.

I forgot that propertyIsEnumerable is only for own properties. Then the IE and
FF results are consistent.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 23 June 2014 20:35:19 UTC