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

Re: "var" declarations shadowing properties from Window.prototype

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 12 Aug 2012 13:36:08 -0400
Message-ID: <5027E988.50604@mit.edu>
To: Brendan Eich <brendan@mozilla.com>
CC: Cameron McCormack <cam@mcc.id.au>, public-script-coord@w3.org, es-discuss@mozilla.org
On 8/12/12 1:31 PM, Brendan Eich wrote:
> There's still a problem for getter-less attributes including indexedDB, so
> something *still* has to change there!

I'm not sure I follow this.  If indexedDB is on the global as an own 
property, what issue remains with it?

> The global needs to be a flat object (only
> implementation-specific magic protos along a chain ending in
> Object.prototype).

The magic from the global scope polluter isn't even impl-specific.

> And we still need to be careful about writability (get-only indexedDB
> point above).

Ah, you meant setter-less above?

Only a problem in strict mode, right?

-Boris
Received on Sunday, 12 August 2012 17:36:41 UTC

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