hixie: Change how window.opener works to allow it to be set to 'null' and have that persist past page load. (whatwg r5906)

hixie: Change how window.opener works to allow it to be set to 'null'
and have that persist past page load. (whatwg r5906)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4745&r2=1.4746&f=h
http://html5.org/tools/web-apps-tracker?from=5905&to=5906

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4745
retrieving revision 1.4746
diff -u -d -r1.4745 -r1.4746
--- Overview.html 18 Feb 2011 22:36:56 -0000 1.4745
+++ Overview.html 18 Feb 2011 22:46:16 -0000 1.4746
@@ -42272,11 +42272,16 @@
   browsing context</dfn>, which is the <a href="#browsing-context">browsing context</a>
   from which the <a href="#auxiliary-browsing-context">auxiliary browsing context</a> was
   created.<h5 id="navigating-auxiliary-browsing-contexts-in-the-dom"><span class="secno">5.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.<h4 id="secondary-browsing-contexts"><span class="secno">5.1.3 </span>Secondary browsing contexts</h4><p>User agents may support <dfn id="secondary-browsing-context" title="secondary browsing
+  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.<h4 id="secondary-browsing-contexts"><span class="secno">5.1.3 </span>Secondary browsing contexts</h4><p>User agents may support <dfn id="secondary-browsing-context" title="secondary browsing
   context">secondary browsing contexts</dfn>, which are <a href="#browsing-context" title="browsing context">browsing contexts</a> that form part of
   the user agent's interface, apart from the main content area.<div class="impl">
 
@@ -42512,7 +42517,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);

Received on Friday, 18 February 2011 22:47:38 UTC