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

(no subject)

From: Allen Wirfs-Brock <allen@wirfs-brock.com>
Date: Thu, 5 Jan 2012 18:44:33 -0800
Cc: Ojan Vafai <ojan@chromium.org>, Cameron McCormack <cam@mcc.id.au>, Travis Leithead <travis.leithead@microsoft.com>, "public-script-coord@w3.org" <public-script-coord@w3.org>, Ian Hickson <ian@hixie.ch>, Jeff Walden <jwalden@mit.edu>
Message-Id: <0D668B34-6322-4374-8AF9-AE55A4907459@wirfs-brock.com>

On Jan 5, 2012, at 4:55 PM, Boris Zbarsky wrote:

> On 1/5/12 6:35 PM, Ojan Vafai wrote:
>> I haven't heard opposition to shadowing. It seems the only problem
>> that's been brought up is figuring out how to spec it. Seems like an ES
>> spec change is in order since a) it doesn't match what browsers do
> 
> 
> What part of ES doesn't match exactly what which browsers do?
> 
> There was already a spec change so that var could shadow things on the global's proto chain.  Opera, IE, Gecko all either did that already or updated to the spec change.  JSC and V8 have not updated to it.
> 
> This spec change may not have propagated to all the copies of the spec people are reading; I recall running into that problem before...
> 
> I propose we wait for someone familiar with the spec change to comment with pointers to the updated spec text before anything else, because that part kind of seems to matter.

I believe that this is the change Boris is referring to: https://bugs.ecmascript.org/show_bug.cgi?id=78 

Allen
Received on Friday, 6 January 2012 02:47:46 UTC

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