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

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