Re: Interaction of non-configurable attributes and named getters

Boris Zbarsky wrote:
> http://dev.w3.org/2006/webapi/WebIDL/#getownproperty says that named
> properties override normal own properties of the object, as far as I can
> tell. But http://dev.w3.org/2006/webapi/WebIDL/#defineownproperty allows
> defining properties as long as they don't collide with the named props.
>
> What happens if a non-configurable property is defined and then the set
> of supported names changes to include its name? Seems like
> [[GetOwnProperty]] will suddenly start returning a descriptor with
> [[Configurable]] set to true for that property name, no?

http://dev.w3.org/2006/webapi/WebIDL/#defineownproperty forces 
properties defined on objects that support indexed or named properties 
to be configurable in step 1.

Received on Friday, 2 August 2013 03:59:14 UTC