"var" declarations shadowing properties from Window.prototype

Sigbjorn Finne sigbjorn.finne at gmail.com
Sun Aug 12 10:22:25 PDT 2012

On Sun, Aug 12, 2012 at 6:30 PM, Boris Zbarsky <bzbarsky at 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 at opera.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120812/ee55106e/attachment.html>

More information about the es-discuss mailing list