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

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