W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

[whatwg] Renaming Interface Window

From: Jonas Sicking <jonas@sicking.cc>
Date: Mon, 14 Dec 2009 12:44:49 -0800
Message-ID: <63df84f0912141244y6a9b68f4s4a3242d01fcedbb0@mail.gmail.com>
>> Which brings me back to my original point. Web browsers have defined
>> 'window'. The HTML5 spec cannot change that. But the interface called
>> "Window" in the current specification is not part of web browsers
> javascript:alert(window instanceof Window) seems to be implemented the same
> way in a number of browsers, no?

This gets to the core of it. Just like there is a global object called
"Node", which contains contants and a prototype used by all nodes,
there is a global object called "Window" (note the upper case 'w').
This is what dictates the name of the Window interface in the spec.

/ Jonas
Received on Monday, 14 December 2009 12:44:49 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC