[whatwg] [[GetOwnProperty]] for named properties of the Window object

Boris Zbarsky bzbarsky at MIT.EDU
Thu Sep 12 11:43:42 PDT 2013

On 9/12/13 2:36 PM, Gavin Barraclough wrote:
> Hmmm, interesting.  I was thinking that in the case that a shadowing
> property was put to the named property object itself

Can't be done.  Looking at the ES5 [[Put]], ownDesc is a data descriptor 
here, so we land in step 3b, which calls [[DefineOwnProperty]], which is 
defined at 
and throws if "Throw" and silently does nothing otherwise.  ES6 is similar.

> then deleted

Also can't be done.  See 

> Many thanks,

No problem!


More information about the whatwg mailing list