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

Re: variable declarations shadowing named properties on window

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 27 Jan 2012 19:44:14 +0100
Message-ID: <4F22F07E.6090200@mit.edu>
To: Travis Leithead <travis.leithead@microsoft.com>
CC: Cameron McCormack <cam@mcc.id.au>, Allen Wirfs-Brock <allen@wirfs-brock.com>, Ojan Vafai <ojan@chromium.org>, "public-script-coord@w3.org" <public-script-coord@w3.org>, Ian Hickson <ian@hixie.ch>, Jeff Walden <jwalden@mit.edu>
On 1/27/12 7:39 PM, Travis Leithead wrote:
> So, to clarify my understanding:
> Name resolution lookup on the window/global will be:
>
> 1. window/global own props
> 2. WindowProperties own props
> 3. WindowPrototype own props
> 4. Object [prototype] own props
> 5. WindowProperties named/indexed props

I think #2 and #3 are in the opposite order if I understood Cameron 
correctly.

> Named frames are part of step 5 as I understand it.

That's my understanding as well.  Gecko is fine with making that change.

-Boris
Received on Friday, 27 January 2012 18:44:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:05 UTC