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

Re: Property enumeration for NodeList, etc.

From: Cameron McCormack <cam@mcc.id.au>
Date: Tue, 28 Jun 2011 14:54:38 +1200
To: David Flanagan <dflanagan@mozilla.com>, public-script-coord@w3.org
Message-ID: <20110628025438.GG3167@wok.mcc.id.au>
Cameron McCormack:
> So, clearly we should be enumerating properties from the prototype
> chain.  Also, I think own expando properties should be enumerated 
> …
> Just going by the numbers, I think we should make indexed and named
> properties all be enumerated, unless we have compatibility reasons for
> doing otherwise: if someone knows that we definitely can’t enumerate
> everything on certain objects (indexed properties on Window looks like
> a candidate), then I can invent an extended attribute to use to disable
> that.

I’ve done this, which just meant changing that third list item in the
Property Enumeration section to say that own/prototype properties are

I’ve also made the property descriptors for indexed/named properties as
returned by [[GetOwnProperty]] be enumerable (bug 12979).

Cameron McCormack ≝ http://mcc.id.au/
Received on Tuesday, 28 June 2011 02:55:12 UTC

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