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

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

From: Cameron McCormack <cam@mcc.id.au>
Date: Sat, 06 Oct 2012 11:36:09 +1000
Message-ID: <506F8B09.6020605@mcc.id.au>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>, Brendan Eich <brendan@mozilla.com>, Travis Leithead <Travis.Leithead@microsoft.com>
Boris Zbarsky:
> I believe they should remain accessor properties.
> I think making them all [Replaceable] is likely to cause compat problems.


> Apart from that, the only difference betewen #1 and #2 is strict-mode
> behavior, right?

Yes.  And we can work around the problem in strict mode if we want, by 
giving the accessor properties setters that do nothing.  Should we do that?
Received on Saturday, 6 October 2012 01:36:47 UTC

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