[html5] r6953 - [giow] (1) window.opener should return null in certain cases Fixing https://www. [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 31 13:15:34 PST 2012


Author: ianh
Date: 2012-01-31 13:15:33 -0800 (Tue, 31 Jan 2012)
New Revision: 6953

Modified:
   complete.html
   index
   source
Log:
[giow] (1) window.opener should return null in certain cases
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15049
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2012-01-31 20:41:37 UTC (rev 6952)
+++ complete.html	2012-01-31 21:15:33 UTC (rev 6953)
@@ -61010,11 +61010,11 @@
   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>
 
 
 
@@ -61453,7 +61453,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>;
   [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);

Modified: index
===================================================================
--- index	2012-01-31 20:41:37 UTC (rev 6952)
+++ index	2012-01-31 21:15:33 UTC (rev 6953)
@@ -61010,11 +61010,11 @@
   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>
 
 
 
@@ -61453,7 +61453,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>;
   [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);

Modified: source
===================================================================
--- source	2012-01-31 20:41:37 UTC (rev 6952)
+++ source	2012-01-31 21:15:33 UTC (rev 6953)
@@ -71427,11 +71427,11 @@
   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>
 
 
 
@@ -71941,7 +71941,7 @@
   [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);




More information about the Commit-Watchers mailing list