W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 22320] Form's supported property names should perhaps not be enumerable

From: <bugzilla@jessica.w3.org>
Date: Tue, 09 Jul 2013 03:58:18 +0000
To: public-script-coord@w3.org
Message-ID: <bug-22320-3890-Sh8mwdiarz@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22320

Mark S. Miller <erights@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |erights@gmail.com

--- Comment #8 from Mark S. Miller <erights@gmail.com> ---
Having these properties not be enumerable, in the ES sense of "not enumerable",
would be fine and probably expected. 

But having them not be enumerated by getOwnPropertyNames is perverse,
unexpected, hostile to the JavaScript programmer, likely in violation of the
ES5 spec, and not possibly needed for compatibility with any pre-ES5 legacy,
since getOwnPropertyNames started in ES5. 

getOwnPropertyNames must enumerate *all* own properties, whether enumerable or
not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 9 July 2013 03:58:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:50 UTC