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

Interaction of non-configurable attributes and named getters

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 13 Dec 2012 16:51:11 -0500
Message-ID: <50CA4DCF.2020608@mit.edu>
To: "public-script-coord@w3.org" <public-script-coord@w3.org>
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 

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?

Received on Thursday, 13 December 2012 21:51:41 UTC

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