[html5] r4086 - [] (0) Try to clarify WindowProxy.

whatwg at whatwg.org whatwg at whatwg.org
Mon Oct 5 19:27:59 PDT 2009


Author: ianh
Date: 2009-10-05 19:27:58 -0700 (Mon, 05 Oct 2009)
New Revision: 4086

Modified:
   index
   source
   vocabs-index
Log:
[] (0) Try to clarify WindowProxy.

Modified: index
===================================================================
--- index	2009-10-05 23:44:36 UTC (rev 4085)
+++ index	2009-10-06 02:27:58 UTC (rev 4086)
@@ -112,7 +112,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML5</h1>
-   <h2 class="no-num no-toc" id=draft-standard-—-5-october-2009>Draft Standard — 5 October 2009</h2>
+   <h2 class="no-num no-toc" id=draft-standard-—-6-october-2009>Draft Standard — 6 October 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -46084,16 +46084,32 @@
 
   <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]

Modified: source
===================================================================
--- source	2009-10-05 23:44:36 UTC (rev 4085)
+++ source	2009-10-06 02:27:58 UTC (rev 4086)
@@ -55068,16 +55068,33 @@
 
   <p>As mentioned earlier, each <span>browsing context</span> has a
   <dfn><code>WindowProxy</code></dfn> object. This object is unusual
-  in that it must proxy all operations to the <code>Window</code>
-  object of the <span>browsing context</span>'s <span>active
-  document</span>. It is thus indistinguishable from that
-  <code>Window</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>Window</code> object of the <span>browsing
+  context</span>'s <span>active document</span> instead. It is thus
+  indistinguishable from that <code>Window</code> object in every way
+  until the <span>browsing context</span> is navigated.</p>
 
+  <p>There is no <code>WindowProxy</code> interface object.</p>
+
+  <div class="example">
+
+   <p>In the following example, the variable <var title="">x</var> is
+   set to the <code>WindowProxy</code> object returned by the <code
+   title="dom-window">window</code> accessor on the global scope. All
+   of the expressions following the assignment return true, because in
+   every respect, the <code>WindowProxy</code> object acts like the
+   underlying <code>Window</code> object.</p>
+
+   <pre>var x = window;
+x instanceof Window; // true
+x === this; // true</pre>
+
   </div>
 
+  </div>
 
 
+
   <h3>The <code>Window</code> object</h3>
 
   <pre class="idl">[OverrideBuiltins]

Modified: vocabs-index
===================================================================
--- vocabs-index	2009-10-05 23:44:36 UTC (rev 4085)
+++ vocabs-index	2009-10-06 02:27:58 UTC (rev 4086)
@@ -48,7 +48,7 @@
   <div class="head">
    <p><a class="logo" href="http://www.whatwg.org/" rel="home"><img alt="WHATWG" src="/images/logo"></a></p>
    <h1>Microdata Vocabularies: vCard, vEvent, and works</h1>
-   <h2 class="no-num no-toc" id="draft-standard-5-october-2009">Draft Standard — 5 October 2009</h2>
+   <h2 class="no-num no-toc" id="draft-standard-6-october-2009">Draft Standard — 6 October 2009</h2>
    <p>You can take part in this work. <a href="http://www.whatwg.org/mailing-list">Join the working group's discussion list.</a></p>
    <dl><dt>This specification:</dt>
     <dd><a href="http://www.whatwg.org/specs/web-apps/current-work/">http://www.whatwg.org/specs/web-apps/current-work/</a></dd>




More information about the Commit-Watchers mailing list