Skip to content

Commit

Permalink
[giow] (3) Try to make window.opener more compatible
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21946
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8235 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 22, 2013
1 parent bf1fed0 commit f66eefe
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
11 changes: 10 additions & 1 deletion complete.html
Expand Up @@ -63587,7 +63587,16 @@ <h5 id=navigating-auxiliary-browsing-contexts-in-the-dom><span class=secno>6.1.2
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>



Expand Down
11 changes: 10 additions & 1 deletion index
Expand Up @@ -63587,7 +63587,16 @@ END:VCARD</pre>
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>



Expand Down
11 changes: 10 additions & 1 deletion source
Expand Up @@ -70773,7 +70773,16 @@ END:VCARD</pre>
<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>



Expand Down

0 comments on commit f66eefe

Please sign in to comment.