[html5] r7512 - [giow] (3) Make sure <iframe name=location> doesn't override Document.location F [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Nov 19 10:47:26 PST 2012


Author: ianh
Date: 2012-11-19 10:47:25 -0800 (Mon, 19 Nov 2012)
New Revision: 7512

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Make sure <iframe name=location> doesn't override Document.location
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19560
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2012-11-19 18:39:16 UTC (rev 7511)
+++ complete.html	2012-11-19 18:47:25 UTC (rev 7512)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 16 November 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 19 November 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -10121,9 +10121,9 @@
   extends significantly:</p>
 
   <pre class=idl>[OverrideBuiltins]
-partial interface <dfn id=document>Document</dfn> {
+partial /*sealed*/ interface <dfn id=document>Document</dfn> {
   // <a href=#resource-metadata-management>resource metadata management</a>
-  [PutForwards=<a href=#dom-location-href title=dom-location-href>href</a>] readonly attribute <a href=#location>Location</a>? <a href=#dom-document-location title=dom-document-location>location</a>;
+  [PutForwards=<a href=#dom-location-href title=dom-location-href>href</a>, Unforgeable] readonly attribute <a href=#location>Location</a>? <a href=#dom-document-location title=dom-document-location>location</a>;
            attribute DOMString <a href=#dom-document-domain title=dom-document-domain>domain</a>;
   readonly attribute DOMString <a href=#dom-document-referrer title=dom-document-referrer>referrer</a>;
            attribute DOMString <a href=#dom-document-cookie title=dom-document-cookie>cookie</a>;
@@ -68266,7 +68266,7 @@
   <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>Window</a></code> object</h3>
 
   <pre class=idl>[NamedPropertiesObject]
-interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
+/*sealed*/ interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
   // the current browsing context
   [Unforgeable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-window title=dom-window>window</a>;
   [Replaceable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-self title=dom-self>self</a>;
@@ -105853,7 +105853,7 @@
    <li><code><a href=#datatransferitem>DataTransferItem</a></code>
    <li><code><a href=#datatransferitemlist>DataTransferItemList</a></code>
    <li><code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code>
-   <li><code>Document</code>, <a href=#document>partial</a>
+   <li><code><a href=#document>Document</a></code>
    <li><code><a href=#dragevent>DragEvent</a></code>
    <li><code><a href=#drawingstyle>DrawingStyle</a></code>
    <li><code><a href=#errorevent>ErrorEvent</a></code>

Modified: index
===================================================================
--- index	2012-11-19 18:39:16 UTC (rev 7511)
+++ index	2012-11-19 18:47:25 UTC (rev 7512)
@@ -248,7 +248,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 16 November 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 19 November 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -10121,9 +10121,9 @@
   extends significantly:</p>
 
   <pre class=idl>[OverrideBuiltins]
-partial interface <dfn id=document>Document</dfn> {
+partial /*sealed*/ interface <dfn id=document>Document</dfn> {
   // <a href=#resource-metadata-management>resource metadata management</a>
-  [PutForwards=<a href=#dom-location-href title=dom-location-href>href</a>] readonly attribute <a href=#location>Location</a>? <a href=#dom-document-location title=dom-document-location>location</a>;
+  [PutForwards=<a href=#dom-location-href title=dom-location-href>href</a>, Unforgeable] readonly attribute <a href=#location>Location</a>? <a href=#dom-document-location title=dom-document-location>location</a>;
            attribute DOMString <a href=#dom-document-domain title=dom-document-domain>domain</a>;
   readonly attribute DOMString <a href=#dom-document-referrer title=dom-document-referrer>referrer</a>;
            attribute DOMString <a href=#dom-document-cookie title=dom-document-cookie>cookie</a>;
@@ -68266,7 +68266,7 @@
   <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>Window</a></code> object</h3>
 
   <pre class=idl>[NamedPropertiesObject]
-interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
+/*sealed*/ interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
   // the current browsing context
   [Unforgeable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-window title=dom-window>window</a>;
   [Replaceable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-self title=dom-self>self</a>;
@@ -105853,7 +105853,7 @@
    <li><code><a href=#datatransferitem>DataTransferItem</a></code>
    <li><code><a href=#datatransferitemlist>DataTransferItemList</a></code>
    <li><code><a href=#dedicatedworkerglobalscope>DedicatedWorkerGlobalScope</a></code>
-   <li><code>Document</code>, <a href=#document>partial</a>
+   <li><code><a href=#document>Document</a></code>
    <li><code><a href=#dragevent>DragEvent</a></code>
    <li><code><a href=#drawingstyle>DrawingStyle</a></code>
    <li><code><a href=#errorevent>ErrorEvent</a></code>

Modified: source
===================================================================
--- source	2012-11-19 18:39:16 UTC (rev 7511)
+++ source	2012-11-19 18:47:25 UTC (rev 7512)
@@ -10304,9 +10304,9 @@
   extends significantly:</p>
 
   <pre class="idl">[OverrideBuiltins]
-partial interface <dfn>Document</dfn> {
+partial /*sealed*/ interface <dfn>Document</dfn> {
   // <span>resource metadata management</span>
-  [PutForwards=<span title="dom-location-href">href</span>] readonly attribute <span>Location</span>? <span title="dom-document-location">location</span>;
+  [PutForwards=<span title="dom-location-href">href</span>, Unforgeable] readonly attribute <span>Location</span>? <span title="dom-document-location">location</span>;
            attribute DOMString <span title="dom-document-domain">domain</span>;
   readonly attribute DOMString <span title="dom-document-referrer">referrer</span>;
            attribute DOMString <span title="dom-document-cookie">cookie</span>;
@@ -80175,7 +80175,7 @@
   <h3>The <code>Window</code> object</h3>
 
   <pre class="idl">[NamedPropertiesObject]
-interface <dfn>Window</dfn> : <span>EventTarget</span> {
+/*sealed*/ interface <dfn>Window</dfn> : <span>EventTarget</span> {
   // the current browsing context
   [Unforgeable] readonly attribute <span>WindowProxy</span> <span title="dom-window">window</span>;
   [Replaceable] readonly attribute <span>WindowProxy</span> <span title="dom-self">self</span>;
@@ -81075,7 +81075,7 @@
 <!-- this is for the purposes of the IDL validator -->
 <pre class="idl">
 [NoInterfaceObject]
-interface <dfn>WindowProxy</dfn>: <span>Window</span> {};
+interface <span>WindowProxy</span> : <span>Window</span> {};
 </pre>
 <!--START complete--><!--START dev-html--><!--START w3c-html-->
 




More information about the Commit-Watchers mailing list