W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

Re: indexed properties on NodeLists and HTMLCollections

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 30 Jun 2011 16:55:11 +1200
To: David Flanagan <dflanagan@mozilla.com>, public-script-coord@w3.org
Message-ID: <20110630045511.GF31240@wok.mcc.id.au>
David Flanagan:
> > 1) A pre-existing named property will prevent the definition of an
> > expando property with the same name, so there is no shadowing issue.
> > 
> > 2) A pre-existing expando will shadow a named property that comes
> > into existance after the expando. [This is different than the
> > current behavior of FF and Chrome, at least.]
> > 
> > Is this the intent of the spec?

Cameron McCormack:
> Yes, that is the intent.  I think then that Web IDL’s
> [[DefineOwnProperty]] needs to change to ensure (1).  (2) should already
> work.

David, I believe I’ve fixed (1) now.  Could you verify?

Thanks,

Cameron

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 30 June 2011 04:55:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC