[whatwg] Renaming Interface Window

Ian Hickson ian at hixie.ch
Mon Dec 14 11:20:03 PST 2009


On Mon, 14 Dec 2009, John J Barton wrote:
> Ian Hickson wrote:
> > ...
> > As far as I can tell that would be wrong. The Window object is a DOM object,
> > it's not the same as the browsing context, which is a UA construct.
>
> Can you help me understand this a bit more?  I guess by "The Window 
> object is a DOM object" you mean "Window() is a global javascript 
> function we can use to construct objects and it is defined as part of 
> the Document Object Model"?

I mean that it is a Web IDL interface exposed in Web browsers as the 
interface object that the global object has in its prototype chain.


> How is "The Window object" related to "interface Window" of the HTML5 spec?

It's the same thing. To be precise I should call it the Window interface, 
not the Window object.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list