Re: indexed properties on NodeLists and HTMLCollections

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