This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11033 - Specify property enumeration order
Summary: Specify property enumeration order
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 01:10 UTC by Cameron McCormack
Modified: 2011-05-25 23:54 UTC (History)
2 users (show)

See Also:


Attachments

Description Cameron McCormack 2010-10-14 01:10:19 UTC
We might need to specify property enumeration order for ECMAScript host objects.

https://bugzilla.mozilla.org/show_bug.cgi?id=524423
Comment 1 Cameron McCormack 2011-05-25 23:54:54 UTC
I added a section on property enumeration:

http://dev.w3.org/2006/webapi/WebIDL/#property-enumeration

which handles objects with index/name getters.  This means that specifications defining interfaces with name getters need to define the order of those names.

I'll defer to future ES specifications for property enumeration order of more normal objects.