[html5] r8235 - [giow] (3) Try to make window.opener more compatible Fixing https://www.w3.org/B [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Oct 22 11:15:25 PDT 2013
Author: ianh
Date: 2013-10-22 11:15:24 -0700 (Tue, 22 Oct 2013)
New Revision: 8235
Modified:
complete.html
index
source
Log:
[giow] (3) Try to make window.opener more compatible
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21946
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2013-10-22 17:22:53 UTC (rev 8234)
+++ complete.html 2013-10-22 18:15:24 UTC (rev 8235)
@@ -63587,10 +63587,19 @@
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>; otherwise, it must return null.
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>
+ user agent must
+ <!-- dark magic incantation begins -->
+ call the [[DefineOwnProperty]] internal method of the <code><a href=#window>Window</a></code> object, passing the
+ property name "<code title="">opener</code>" as the property key, and the Property Descriptor {
+ [[Value]]: <var title="">value</var>, [[Writable]]: true, [[Enumerable]]: true,
+ [[Configurable]]: true } as the property descriptor,
+ <!-- dark magic incantation ends -->
+ where <var title="">value</var> is the new value.</p>
+
+
<h4 id=secondary-browsing-contexts><span class=secno>6.1.3 </span>Secondary browsing contexts</h4>
<p>User agents may support <dfn id=secondary-browsing-context title="secondary browsing context">secondary browsing
Modified: index
===================================================================
--- index 2013-10-22 17:22:53 UTC (rev 8234)
+++ index 2013-10-22 18:15:24 UTC (rev 8235)
@@ -63587,10 +63587,19 @@
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>; otherwise, it must return null.
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>
+ user agent must
+ <!-- dark magic incantation begins -->
+ call the [[DefineOwnProperty]] internal method of the <code><a href=#window>Window</a></code> object, passing the
+ property name "<code title="">opener</code>" as the property key, and the Property Descriptor {
+ [[Value]]: <var title="">value</var>, [[Writable]]: true, [[Enumerable]]: true,
+ [[Configurable]]: true } as the property descriptor,
+ <!-- dark magic incantation ends -->
+ where <var title="">value</var> is the new value.</p>
+
+
<h4 id=secondary-browsing-contexts><span class=secno>6.1.3 </span>Secondary browsing contexts</h4>
<p>User agents may support <dfn id=secondary-browsing-context title="secondary browsing context">secondary browsing
Modified: source
===================================================================
--- source 2013-10-22 17:22:53 UTC (rev 8234)
+++ source 2013-10-22 18:15:24 UTC (rev 8235)
@@ -70773,10 +70773,19 @@
<span>browsing context</span> has not <i>disowned its opener</i>; otherwise, it must return null.
On setting, if the new value is null then the current <span>browsing context</span> must <dfn
data-x="disowned its opener">disown its opener</dfn>; if the new value is anything else then the
- user agent must ignore the new value.</p>
+ user agent must
+ <!-- dark magic incantation begins -->
+ call the [[DefineOwnProperty]] internal method of the <code>Window</code> object, passing the
+ property name "<code data-x="">opener</code>" as the property key, and the Property Descriptor {
+ [[Value]]: <var data-x="">value</var>, [[Writable]]: true, [[Enumerable]]: true,
+ [[Configurable]]: true } as the property descriptor,
+ <!-- dark magic incantation ends -->
+ where <var data-x="">value</var> is the new value.</p>
+
+
<h4>Secondary browsing contexts</h4>
<p>User agents may support <dfn data-x="secondary browsing context">secondary browsing
More information about the Commit-Watchers
mailing list