W3C home > Mailing lists > Public > public-device-apis@w3.org > August 2011

Re: Contacts API -- attribute order

From: Andreas Gal <gal@mozilla.com>
Date: Thu, 25 Aug 2011 00:38:57 -0700
Cc: public-device-apis@w3.org
Message-Id: <465143EC-0417-48D5-A33E-2F278B756B29@mozilla.com>
To: Cameron McCormack <cam@mcc.id.au>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:46:04 UTC