html5/spec Overview.html,1.3244,1.3245

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv12980

Modified Files:
	Overview.html 
Log Message:
Try to clarify WindowProxy. (whatwg r4086)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3244
retrieving revision 1.3245
diff -u -d -r1.3244 -r1.3245
--- Overview.html	5 Oct 2009 23:34:56 -0000	1.3244
+++ Overview.html	6 Oct 2009 02:18:17 -0000	1.3245
@@ -215,7 +215,7 @@
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
    <!--ZZZ:-->
    <!--<h2 class="no-num no-toc">W3C Working Draft 25 August 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-5-october-2009">Editor's Draft 5 October 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-6-october-2009">Editor's Draft 6 October 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out--><!--
     <dt>This Version:</dt>
@@ -317,7 +317,7 @@
   track.
   <!--ZZZ:-->
   <!--This specification is the 25 August 2009 Working Draft.-->
-  This specification is the 5 October 2009 Editor's Draft.
+  This specification is the 6 October 2009 Editor's Draft.
   <!--:ZZZ-->
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are
   identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of)
@@ -41196,11 +41196,27 @@
 
   <p>As mentioned earlier, each <a href="#browsing-context">browsing context</a> has a
   <dfn id="windowproxy"><code>WindowProxy</code></dfn> object. This object is unusual
-  in that it must proxy all operations to the <code><a href="#window">Window</a></code>
-  object of the <a href="#browsing-context">browsing context</a>'s <a href="#active-document">active
-  document</a>. It is thus indistinguishable from that
-  <code><a href="#window">Window</a></code> object in every way, except that it is not equal
-  to it.</p>
+  in that all operations that would be performed on it must be
+  performd on the <code><a href="#window">Window</a></code> object of the <a href="#browsing-context">browsing
+  context</a>'s <a href="#active-document">active document</a> instead. It is thus
+  indistinguishable from that <code><a href="#window">Window</a></code> object in every way
+  until the <a href="#browsing-context">browsing context</a> is navigated.</p>
+
+  <p>There is no <code><a href="#windowproxy">WindowProxy</a></code> interface object.</p>
+
+  <div class="example">
+
+   <p>In the following example, the variable <var title="">x</var> is
+   set to the <code><a href="#windowproxy">WindowProxy</a></code> object returned by the <code title="dom-window"><a href="#dom-window">window</a></code> accessor on the global scope. All
+   of the expressions following the assignment return true, because in
+   every respect, the <code><a href="#windowproxy">WindowProxy</a></code> object acts like the
+   underlying <code><a href="#window">Window</a></code> object.</p>
+
+   <pre>var x = window;
+x instanceof Window; // true
+x === this; // true</pre>
+
+  </div>
 
   </div><h3 id="the-window-object"><span class="secno">6.3 </span>The <code><a href="#window">Window</a></code> object</h3><pre class="idl">[OverrideBuiltins]
 interface <dfn id="window">Window</dfn> {

Received on Tuesday, 6 October 2009 02:18:22 UTC