[html5] r5885 - [e] (0) Update how WindowModal gets merged in using new text from heycam.

whatwg at whatwg.org whatwg at whatwg.org
Mon Feb 14 14:51:04 PST 2011


Author: ianh
Date: 2011-02-14 14:51:03 -0800 (Mon, 14 Feb 2011)
New Revision: 5885

Modified:
   complete.html
   index
   source
Log:
[e] (0) Update how WindowModal gets merged in using new text from heycam.

Modified: complete.html
===================================================================
--- complete.html	2011-02-14 22:35:50 UTC (rev 5884)
+++ complete.html	2011-02-14 22:51:03 UTC (rev 5885)
@@ -66159,12 +66159,17 @@
 
   </ol><p>The <code><a href=#window>Window</a></code> objects of <code><a href=#document>Document</a></code>s hosted
   by <a href=#browsing-context title="browsing context">browsing contexts</a> created
-  by the above algorithm must all have the <code><a href=#windowmodal>WindowModal</a></code>
-  interface added to their <code><a href=#window>Window</a></code> interface:</p>
+  by the above algorithm must also implement the
+  <code><a href=#windowmodal>WindowModal</a></code> interface.</p>
 
+  <p class=note>When this happens, the members of the
+  <code><a href=#windowmodal>WindowModal</a></code> interface, in JavaScript environments,
+  appear to actually be part of the <code><a href=#window>Window</a></code> interface
+  (e.g. they are on the same prototype chain as the <code title=dom-alert><a href=#dom-alert>window.alert()</a></code> method).</p>
+
   </div>
 
-  <pre class=idl>[Supplemental, NoInterfaceObject] interface <dfn id=windowmodal>WindowModal</dfn> {
+  <pre class=idl>[NoInterfaceObject] interface <dfn id=windowmodal>WindowModal</dfn> {
   readonly attribute any <a href=#dom-windowmodal-dialogarguments title=dom-WindowModal-dialogArguments>dialogArguments</a>;
            attribute DOMString <a href=#dom-windowmodal-returnvalue title=dom-WindowModal-returnValue>returnValue</a>;
 };</pre>

Modified: index
===================================================================
--- index	2011-02-14 22:35:50 UTC (rev 5884)
+++ index	2011-02-14 22:51:03 UTC (rev 5885)
@@ -66162,12 +66162,17 @@
 
   </ol><p>The <code><a href=#window>Window</a></code> objects of <code><a href=#document>Document</a></code>s hosted
   by <a href=#browsing-context title="browsing context">browsing contexts</a> created
-  by the above algorithm must all have the <code><a href=#windowmodal>WindowModal</a></code>
-  interface added to their <code><a href=#window>Window</a></code> interface:</p>
+  by the above algorithm must also implement the
+  <code><a href=#windowmodal>WindowModal</a></code> interface.</p>
 
+  <p class=note>When this happens, the members of the
+  <code><a href=#windowmodal>WindowModal</a></code> interface, in JavaScript environments,
+  appear to actually be part of the <code><a href=#window>Window</a></code> interface
+  (e.g. they are on the same prototype chain as the <code title=dom-alert><a href=#dom-alert>window.alert()</a></code> method).</p>
+
   </div>
 
-  <pre class=idl>[Supplemental, NoInterfaceObject] interface <dfn id=windowmodal>WindowModal</dfn> {
+  <pre class=idl>[NoInterfaceObject] interface <dfn id=windowmodal>WindowModal</dfn> {
   readonly attribute any <a href=#dom-windowmodal-dialogarguments title=dom-WindowModal-dialogArguments>dialogArguments</a>;
            attribute DOMString <a href=#dom-windowmodal-returnvalue title=dom-WindowModal-returnValue>returnValue</a>;
 };</pre>

Modified: source
===================================================================
--- source	2011-02-14 22:35:50 UTC (rev 5884)
+++ source	2011-02-14 22:51:03 UTC (rev 5885)
@@ -75338,12 +75338,18 @@
 
   <p>The <code>Window</code> objects of <code>Document</code>s hosted
   by <span title="browsing context">browsing contexts</span> created
-  by the above algorithm must all have the <code>WindowModal</code>
-  interface added to their <code>Window</code> interface:</p>
+  by the above algorithm must also implement the
+  <code>WindowModal</code> interface.</p>
 
+  <p class="note">When this happens, the members of the
+  <code>WindowModal</code> interface, in JavaScript environments,
+  appear to actually be part of the <code>Window</code> interface
+  (e.g. they are on the same prototype chain as the <code
+  title="dom-alert">window.alert()</code> method).</p>
+
   </div>
 
-  <pre class="idl">[Supplemental, NoInterfaceObject] interface <dfn>WindowModal</dfn> {
+  <pre class="idl">[NoInterfaceObject] interface <dfn>WindowModal</dfn> {
   readonly attribute any <span title="dom-WindowModal-dialogArguments">dialogArguments</span>;
            attribute DOMString <span title="dom-WindowModal-returnValue">returnValue</span>;
 };</pre>




More information about the Commit-Watchers mailing list