W3C home > Mailing lists > Public > public-html@w3.org > June 2012

Re: Handling of objects with both named and indexed properties is probably incorrect

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 28 Jun 2012 12:53:53 +1000
Message-ID: <4FEBC741.1080104@mcc.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: public-script-coord@w3.org, HTML WG <public-html@w3.org>
Boris Zbarsky:
> If the specs want to align with the non-Safari behavior, I think there
> are two options.  Either HTML needs to exclude ids and names that look
> like integers from the set of supported property names, or WebIDL needs
> to be changed so that for objects which support indexed properties step
> 2 of 4.6.2 is skipped if the given property name is an array index
> property name.
>
> Personally, I would prefer this be changed in WebIDL.

I think that's a reasonable change, done:

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.557;r2=1.558;f=h
Received on Thursday, 28 June 2012 02:54:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 28 June 2012 02:54:30 GMT