Re: Contacts API -- attribute order

We should take this to the WebIDL list then. The order definitely matters in practice for interoperability if people do for-in over DOM objects. I had to debug breakage due to shifting properties around in our DOM IDL before.

Andreas

On Aug 25, 2011, at 12:28 AM, Cameron McCormack wrote:

> On 25/08/11 6:46 PM, Andreas Gal wrote:
>> Since this can be observed from JS, can we pick one meaningful order
>> and stick to that for all classes?
> 
> Note that Web IDL doesn't define enumeration order for the properties that correspond to interface members.
> 
> http://dev.w3.org/2006/webapi/WebIDL/#property-enumeration

Received on Thursday, 25 August 2011 07:39:27 UTC