[Bug 26179] toString should be non enumerable

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26179

--- 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 19.1.3.4 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 the QA Contact for the bug.

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