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

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

From: Jonas Sicking <jonas@sicking.cc>
Date: Sat, 11 Aug 2012 09:07:59 -0700
Message-ID: <CA+c2ei-9JphpYispyvVkyCVk_6de-rr3XHPyVUQZfV682PJnHg@mail.gmail.com>
To: Brendan Eich <brendan@mozilla.org>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, public-script-coord@w3.org, es-discuss@mozilla.org
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

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