W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2009

Re: [NameCreator] definition buggy

From: Cameron McCormack <cam@mcc.id.au>
Date: Sun, 21 Jun 2009 00:04:09 +1000
To: Ian Hickson <ian@hixie.ch>
Cc: public-webapps@w3.org
Message-ID: <20090620140409.GD12356@arc.mcc.id.au>
Ian Hickson:
> [[Put]] in WebIDL is buggy. It never invokes NameCreator or IndexCreator.
> I'd like IndexCreator to be invoked if present if the property name is 
> numeric (as per Array's definition -- ToString(ToUint32(P)) == P && 
> ToUint32(P) < 2**23-1) and otherwise NameCreator to be invoked if present.

It is fixed now, and prefers indexed properties over name properties as


Note that I’ve also provided explicit hooks for defining the name/
indexed property algorithms now, which you might like to reference:

  and others, in 
  http://dev.w3.org/2006/webapi/WebIDL/#indexed-property-xattrs and



Cameron McCormack ≝ http://mcc.id.au/
Received on Saturday, 20 June 2009 14:04:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:12:54 UTC