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

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

From: Brendan Eich <brendan@mozilla.com>
Date: Sun, 12 Aug 2012 12:35:53 -0700
Message-ID: <50280599.3090705@mozilla.com>
To: Brandon Benvie <brandon@brandonbenvie.com>
CC: Boris Zbarsky <bzbarsky@mit.edu>, public-script-coord@w3.org, es-discuss@mozilla.org
Brandon Benvie wrote:
> An even more interesting scenario is something like `global.__proto__ 
> = Proxy.create(....)` 

Yes, I mentioned proxies on the global's proto-chain (and mutable 
__proto__) up-thread, here:


Quote: "We had problems with var being sensitive to the prototype chain, 
particularly with proxies prototyped in SpiderMonkey and mutable 
__proto__. These were arguably implementation bugs, though."

Older thread from January:


Received on Sunday, 12 August 2012 19:36:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:07 UTC