[whatwg] Renaming Interface Window

>> 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