[Bug 5850] JS global object

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5850





--- Comment #12 from Ian 'Hixie' Hickson <ian@hixie.ch>  2008-07-18 06:04:28 ---
so basically the Window object reflects the properties of the global object of
the active document and you can never get a pointer to the actual global
object?

should, as heycam suggests, html5 say something like:  "when you go to run a
script, instead of evaluating it with the ecma-262 global object as the 'this'
value, evaluate it with this strange Window object that mostly reflects the
ecma-262 global object as the 'this' value"?

...while keeping the _actual_ global scope object as the one on the scope
chain?

does that even make sense?


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 18 July 2008 06:05:04 UTC