W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

What is the status of window object and such?

From: Marek Kielar <mkielar@go2.pl>
Date: Sun, 6 Jul 2003 21:16:19 +0100
To: www-dom@w3.org
Message-Id: <20030706191619.3CE1B33CC6@rekin5.o2.pl>

I tried to get information about the global object for JavaScript. There is no information about it in neither JavaScript Core/Reference nor HTML Specification, so I went through the ECMAScript specification once again and found out that in a chapter about global object it states that 'the HTML document object model states that the window property of the global object is the global object itself'. However, the DOM doesn't state anything like that. And reading the discussion on this topic in the DOM mailing list a question came up. How can I refer to the global object in the HTML? What is its name? Is it window or document or maybe even something else? Does document.open means the same as window.open? Because I am afraid that when using, for instance, window.open it is possible that a browser (not IE and not Netscape) won't support it and the whole script wouldn't run as it was intended!!!
Received on Sunday, 6 July 2003 15:16:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC