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

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

From: Sigbjorn Finne <sigbjorn.finne@gmail.com>
Date: Sun, 12 Aug 2012 19:22:25 +0200
Message-ID: <CAAO+_-CumE=mWG5fpO_z6Uj=Jk8N=8yUFqXpYJ6XGYiSaM=xqQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-script-coord@w3.org, es-discuss@mozilla.org
On Sun, Aug 12, 2012 at 6:30 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 8/10/12 8:17 PM, Allen Wirfs-Brock wrote:
> ...
>
>  but isn't widespread use of inherited setters to implement DOM
>> properties fairly recent?
>>
>
> No.  Gecko has done it all along, and IE and Opera have certainly done it
> for a good long while; I haven't tested going back more than a few years.
>

Yes, Opera (Carakan) resolves setters by walking the proto chain, but we
don't use g/setters to implement DOM properties.

(They're of some use when site patching, however.)

--sigbjorn / sof@opera.com
Received on Sunday, 12 August 2012 17:22:53 UTC

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