W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2014

[Bug 26179] toString should be non enumerable

From: <bugzilla@jessica.w3.org>
Date: Mon, 23 Jun 2014 16:54:06 +0000
To: public-script-coord@w3.org
Message-ID: <bug-26179-3890-kfCGF1LHf0@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26179

--- Comment #2 from Erik Arvidsson <arv@google.com> ---
Chrome, Firefox & IE:

window.location.propertyIsEnumerable('toString')
false

Chrome, Firefox & IE:

document.createElement('a').propertyIsEnumerable('toString')
false


However:

Chrome:

HTMLAnchorElement.prototype.propertyIsEnumerable('toString')
false

Firefox & IE:

HTMLAnchorElement.prototype.propertyIsEnumerable('toString')
true

This looks like a bug in IE's and Firefox's DOM bindings

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 23 June 2014 16:54:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:22 UTC