Ian Hickson wrote:
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.
  
By "the global object", do you mean "window" in the _javascript_ sense? So it this correct:
"The interface Window is exposed in Web browsers as properties of the global object 'window'?"
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.
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.

jjb


Reply via email to