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

On Sat, Aug 11, 2012 at 8:57 AM, Brendan Eich <brendan@mozilla.org> wrote:
>> Webkit also puts attributes on objects for non-globals, but I'm not
>> promoting that behavior. Nor do I know of any benefits regarding web
>> compatibility that comes with that behavior.
>
> Ok, that's what I was getting at. It may be that this is just historical
> consistency for all objects, no global exception, but sounds like we are
> agreeing that the global object needs an exception ("own" promotion of
> attributes and methods) in WebIDL.

Yes. Sounds like we're fully in agreement.

/ Jonas

Received on Saturday, 11 August 2012 16:08:57 UTC