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

[whatwg] Renaming Interface Window

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 14 Dec 2009 19:20:03 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0912141918440.31755@hixie.dreamhostps.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 14 December 2009 11:20:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:54 UTC