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 22:56:56 +0200
Message-ID: <CAAO+_-AwRZMYGspJ6UMQJumwVCiPAkRZpbrW+_bYM+3ML81QMw@mail.gmail.com>
To: Brandon Benvie <brandon@brandonbenvie.com>
Cc: Brendan Eich <brendan@mozilla.com>, Boris Zbarsky <bzbarsky@mit.edu>, public-script-coord@w3.org, es-discuss@mozilla.org
On Sun, Aug 12, 2012 at 8:57 PM, Brandon Benvie

> One incompatibility in current implementations is that
> Object.getPrototypeOf(window) in Opera is Object.prototype whereas the rest
> have something like Window.prototype (Window doesn't exist in Opera).
You may want to test with 12.50 Desktop snapshots here. i.e., we've
recently altered window's prototype chain to

window -> Window.prototype -> NamedProperties -> Object.prototype

to improve compatibility with others..and spec.

Putting IDL properties on the prototype wasn't done at the same time.

--sigbjorn / sof@opera.com
Received on Sunday, 12 August 2012 20:57:24 UTC

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