"var" declarations shadowing properties from Window.prototype

Brendan Eich brendan at mozilla.com
Thu Aug 16 19:06:10 PDT 2012


Thaddee Tyl wrote:
>> From: Brendan Eich [mailto:brendan at mozilla.com]
>> >  
>> >  Travis Leithead wrote:
>>> >  >  I still have my doubts about the magnitude of this problem,
>> >  
>> >  Which problem? Clearly not all stable browsers have rolled out the ES5.1
>> >  erratum fix whereby var ignores the prototype chain. Also clearly, WebKit-
>> >  based browsers bind attribiutes as "own" properties. We won't know unless
>> >  and and until all browsers take the heat we're taking.
>> >  
>> >  Not sure you're taking this heat yet either!
>
> No, we seemed to have lucked out in that regard.

Is that because you haven't unprefixed msIndexedDB yet, or you haven't 
shipped the ES5.1 erratum fix yet, or you don't do what WebIDL says, or 
some combination?

Sorry to ask, I'm pretty sure someone said what IE does but I've lost 
track. Figure others want to know too. Thanks,

/be



More information about the es-discuss mailing list