Re: Interaction of non-configurable attributes and named getters

That would violate both ES5 and the desire to self-host using proxies.

On Thu, Dec 13, 2012 at 1:51 PM, Boris Zbarsky <bzbarsky@mit.edu> 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?
>
> -Boris
>



-- 
    Cheers,
    --MarkM

Received on Friday, 14 December 2012 03:37:10 UTC