W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2012

Re: Interaction of non-configurable attributes and named getters

From: Mark S. Miller <erights@google.com>
Date: Thu, 13 Dec 2012 19:36:42 -0800
Message-ID: <CABHxS9hbZHVU6Gwb7BVrWzM+ipLhQT_UmdFebd5Ozw7oJgbrnA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "public-script-coord@w3.org" <public-script-coord@w3.org>
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

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:08 UTC