[html5] r5906 - [giow] (2) Change how window.opener works to allow it to be set to 'null' and ha [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Feb 18 14:46:12 PST 2011
Author: ianh
Date: 2011-02-18 14:46:11 -0800 (Fri, 18 Feb 2011)
New Revision: 5906
Modified:
complete.html
index
source
Log:
[giow] (2) Change how window.opener works to allow it to be set to 'null' and have that persist past page load.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11839
Modified: complete.html
===================================================================
--- complete.html 2011-02-18 22:36:48 UTC (rev 5905)
+++ complete.html 2011-02-18 22:46:11 UTC (rev 5906)
@@ -58236,11 +58236,16 @@
<h5 id=navigating-auxiliary-browsing-contexts-in-the-dom><span class=secno>6.1.2.1 </span>Navigating auxiliary browsing contexts in the DOM</h5>
<p>The <dfn id=dom-opener title=dom-opener><code>opener</code></dfn> IDL
- attribute on the <code><a href=#window>Window</a></code> object must return the
- <code><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context>browsing context</a>
- from which the current <a href=#browsing-context>browsing context</a> was created
- (its <a href=#opener-browsing-context>opener browsing context</a>), if there is one and it
- is still available.</p>
+ attribute on the <code><a href=#window>Window</a></code> object, on getting, must return
+ the <code><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context>browsing
+ context</a> from which the current <a href=#browsing-context>browsing context</a>
+ was created (its <a href=#opener-browsing-context>opener browsing context</a>), if there is
+ one, if it is still available, and if the current <a href=#browsing-context>browsing
+ context</a> has not <i><a href=#disowned-its-opener>disowned its opener</a></i>. On setting, if
+ the new value is null then the current <a href=#browsing-context>browsing context</a>
+ must <dfn id=disowned-its-opener title="disowned its opener">disown its opener</dfn>; if
+ the new value is anything else then the user agent must ignore the
+ new value.</p>
@@ -58511,7 +58516,7 @@
[Replaceable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-frames title=dom-frames>frames</a>;
[Replaceable] readonly attribute unsigned long <a href=#dom-length title=dom-length>length</a>;
readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-top title=dom-top>top</a>;
- [Replaceable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-opener title=dom-opener>opener</a>;
+ attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-opener title=dom-opener>opener</a>;
readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-parent title=dom-parent>parent</a>;
readonly attribute <a href=#element>Element</a> <a href=#dom-frameelement title=dom-frameElement>frameElement</a>;
<a href=#windowproxy>WindowProxy</a> <a href=#dom-open title=dom-open>open</a>(in optional DOMString url, in optional DOMString target, in optional DOMString features, in optional DOMString replace);
Modified: index
===================================================================
--- index 2011-02-18 22:36:48 UTC (rev 5905)
+++ index 2011-02-18 22:46:11 UTC (rev 5906)
@@ -58219,11 +58219,16 @@
<h5 id=navigating-auxiliary-browsing-contexts-in-the-dom><span class=secno>6.1.2.1 </span>Navigating auxiliary browsing contexts in the DOM</h5>
<p>The <dfn id=dom-opener title=dom-opener><code>opener</code></dfn> IDL
- attribute on the <code><a href=#window>Window</a></code> object must return the
- <code><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context>browsing context</a>
- from which the current <a href=#browsing-context>browsing context</a> was created
- (its <a href=#opener-browsing-context>opener browsing context</a>), if there is one and it
- is still available.</p>
+ attribute on the <code><a href=#window>Window</a></code> object, on getting, must return
+ the <code><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context>browsing
+ context</a> from which the current <a href=#browsing-context>browsing context</a>
+ was created (its <a href=#opener-browsing-context>opener browsing context</a>), if there is
+ one, if it is still available, and if the current <a href=#browsing-context>browsing
+ context</a> has not <i><a href=#disowned-its-opener>disowned its opener</a></i>. On setting, if
+ the new value is null then the current <a href=#browsing-context>browsing context</a>
+ must <dfn id=disowned-its-opener title="disowned its opener">disown its opener</dfn>; if
+ the new value is anything else then the user agent must ignore the
+ new value.</p>
@@ -58494,7 +58499,7 @@
[Replaceable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-frames title=dom-frames>frames</a>;
[Replaceable] readonly attribute unsigned long <a href=#dom-length title=dom-length>length</a>;
readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-top title=dom-top>top</a>;
- [Replaceable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-opener title=dom-opener>opener</a>;
+ attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-opener title=dom-opener>opener</a>;
readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-parent title=dom-parent>parent</a>;
readonly attribute <a href=#element>Element</a> <a href=#dom-frameelement title=dom-frameElement>frameElement</a>;
<a href=#windowproxy>WindowProxy</a> <a href=#dom-open title=dom-open>open</a>(in optional DOMString url, in optional DOMString target, in optional DOMString features, in optional DOMString replace);
Modified: source
===================================================================
--- source 2011-02-18 22:36:48 UTC (rev 5905)
+++ source 2011-02-18 22:46:11 UTC (rev 5906)
@@ -66151,11 +66151,16 @@
<h5>Navigating auxiliary browsing contexts in the DOM</h5>
<p>The <dfn title="dom-opener"><code>opener</code></dfn> IDL
- attribute on the <code>Window</code> object must return the
- <code>WindowProxy</code> object of the <span>browsing context</span>
- from which the current <span>browsing context</span> was created
- (its <span>opener browsing context</span>), if there is one and it
- is still available.</p>
+ attribute on the <code>Window</code> object, on getting, must return
+ the <code>WindowProxy</code> object of the <span>browsing
+ context</span> from which the current <span>browsing context</span>
+ was created (its <span>opener browsing context</span>), if there is
+ one, if it is still available, and if the current <span>browsing
+ context</span> has not <i>disowned its opener</i>. On setting, if
+ the new value is null then the current <span>browsing context</span>
+ must <dfn title="disowned its opener">disown its opener</dfn>; if
+ the new value is anything else then the user agent must ignore the
+ new value.</p>
@@ -66464,7 +66469,7 @@
[Replaceable] readonly attribute <span>WindowProxy</span> <span title="dom-frames">frames</span>;
[Replaceable] readonly attribute unsigned long <span title="dom-length">length</span>;
readonly attribute <span>WindowProxy</span> <span title="dom-top">top</span>;
- [Replaceable] readonly attribute <span>WindowProxy</span> <span title="dom-opener">opener</span>;
+ attribute <span>WindowProxy</span> <span title="dom-opener">opener</span>;
readonly attribute <span>WindowProxy</span> <span title="dom-parent">parent</span>;
readonly attribute <span>Element</span> <span title="dom-frameElement">frameElement</span>;
<span>WindowProxy</span> <span title="dom-open">open</span>(in optional DOMString url, in optional DOMString target, in optional DOMString features, in optional DOMString replace);
More information about the Commit-Watchers
mailing list