HTML Standard Tracker

Diff (omit for latest revision)

Short URL:

File a bug

SVNBugCommentTime (UTC)
2811[Gecko] [Internet Explorer] [Opera] [Webkit] 'this' in the global scope in JS shouldn't return the window object, it should return the proxy. Hopefully one day this'll move to the ES specs.2009-02-13 03:16
Index: source
--- source	(revision 2810)
+++ source	(revision 2811)
@@ -40213,6 +40213,12 @@
     empty object, it can't do anything that interacts with the
+    <p>If the <span>script's global object</span> is a
+    <code>Window</code> object, then in JavaScript, the <code
+    title="">this</code> keyword in the global scope must, contrary to
+    the ECMAScript specification, return the <code>Window</code>
+    object's <code>WindowProxy</code> object.</p>
    <dt>A relationship with the <dfn>script's browsing context</dfn></dt>