[whatwg] Renaming Interface Window

Jonas Sicking jonas at sicking.cc
Mon Dec 14 12:44:49 PST 2009


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



More information about the whatwg mailing list