<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ian Hickson wrote:
<blockquote
cite="mid:Pine.LNX.4.62.0912141918440.31755@hixie.dreamhostps.com"
type="cite">
<pre wrap="">On Mon, 14 Dec 2009, John J Barton wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Ian Hickson wrote:
</pre>
<blockquote type="cite">
<pre wrap="">...
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.
</pre>
</blockquote>
<pre wrap="">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"?
</pre>
</blockquote>
<pre wrap=""><!---->
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.
</pre>
</blockquote>
By "the global object", do you mean "window" in the Javascript sense?
So it this correct:<br>
"The interface Window is exposed in Web browsers as properties of the
global object 'window'?"<br>
<blockquote
cite="mid:Pine.LNX.4.62.0912141918440.31755@hixie.dreamhostps.com"
type="cite">
<blockquote type="cite">
<pre wrap="">How is "The Window object" related to "interface Window" of the HTML5 spec?
</pre>
</blockquote>
<pre wrap=""><!---->
It's the same thing. To be precise I should call it the Window interface,
not the Window object.</pre>
</blockquote>
But since Javascript does not have a Window interface or any interface
in fact, in what sense is the Window interface implemented by existing
browsers? I understand that they have a 'window' object, but I don't
understand that they have the Window interface.<br>
<br>
jjb<br>
</body>
</html>