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 16:29:24 -0400
Message-ID: <50281224.8030109@mit.edu>
To: Brandon Benvie <brandon@brandonbenvie.com>
CC: Brendan Eich <brendan@mozilla.com>, public-script-coord@w3.org, es-discuss@mozilla.org
On 8/12/12 3:02 PM, Brandon Benvie wrote:
> An even more interesting scenario is something like `global.__proto__ =
> Proxy.create(....)`

That's basically what the Global Scope Polluter does.  That's certainly 
how I plan to implement it in Gecko in the WebIDL bindings: 
Window.prototype.__proto__ will be a proxy which will do all the weird 
stuff the GSP has to do.

-Boris
Received on Sunday, 12 August 2012 20:29:56 UTC

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