Skip to content

Commit

Permalink
[giow] (1) window.opener should return null in certain cases
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15049
Affected topics: DOM APIs, HTML

git-svn-id: http://svn.whatwg.org/webapps@6953 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 31, 2012
1 parent 671d6d2 commit 82af412
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -61010,11 +61010,11 @@ <h5 id=navigating-auxiliary-browsing-contexts-in-the-dom><span class=secno>6.1.2
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>
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>



Expand Down Expand Up @@ -61453,7 +61453,7 @@ <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>
[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>;
[Unforgeable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-top title=dom-top>top</a>;
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>(optional DOMString url, optional DOMString target, optional DOMString features, optional boolean replace);
Expand Down
12 changes: 6 additions & 6 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -61010,11 +61010,11 @@ END:VCARD</pre>
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>
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>



Expand Down Expand Up @@ -61453,7 +61453,7 @@ interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
[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>;
[Unforgeable] readonly attribute <a href=#windowproxy>WindowProxy</a> <a href=#dom-top title=dom-top>top</a>;
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>(optional DOMString url, optional DOMString target, optional DOMString features, optional boolean replace);
Expand Down
12 changes: 6 additions & 6 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -71427,11 +71427,11 @@ END:VCARD</pre>
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>
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 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>



Expand Down Expand Up @@ -71941,7 +71941,7 @@ interface <dfn>Window</dfn> : <span>EventTarget</span> {
[Replaceable] readonly attribute <span>WindowProxy</span> <span title="dom-frames">frames</span>;
[Replaceable] readonly attribute unsigned long <span title="dom-length">length</span>;
[Unforgeable] readonly attribute <span>WindowProxy</span> <span title="dom-top">top</span>;
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>(optional DOMString url, optional DOMString target, optional DOMString features, optional boolean replace);
Expand Down

0 comments on commit 82af412

Please sign in to comment.