[html5] r8652 - [giow] (3) Turns out window.opener is set to all kinds of crazy things and we sh [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri May 30 11:34:29 PDT 2014


Author: ianh
Date: 2014-05-30 11:34:25 -0700 (Fri, 30 May 2014)
New Revision: 8652

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Turns out window.opener is set to all kinds of crazy things and we shouldn't fire TypeError for them
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25917
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2014-05-30 18:26:17 UTC (rev 8651)
+++ complete.html	2014-05-30 18:34:25 UTC (rev 8652)
@@ -70168,7 +70168,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 any <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 = "about:blank", optional DOMString target = "_blank", optional DOMString features = "", optional boolean replace = false);

Modified: index
===================================================================
--- index	2014-05-30 18:26:17 UTC (rev 8651)
+++ index	2014-05-30 18:34:25 UTC (rev 8652)
@@ -70168,7 +70168,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 any <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 = "about:blank", optional DOMString target = "_blank", optional DOMString features = "", optional boolean replace = false);

Modified: source
===================================================================
--- source	2014-05-30 18:26:17 UTC (rev 8651)
+++ source	2014-05-30 18:34:25 UTC (rev 8652)
@@ -77215,7 +77215,7 @@
   [Replaceable] readonly attribute <span>WindowProxy</span> <span data-x="dom-frames">frames</span>;
   [Replaceable] readonly attribute unsigned long <span data-x="dom-length">length</span>;
   [Unforgeable] readonly attribute <span>WindowProxy</span> <span data-x="dom-top">top</span>;
-           attribute <span>WindowProxy</span>? <span data-x="dom-opener">opener</span>;
+           attribute any <span data-x="dom-opener">opener</span>;
   readonly attribute <span>WindowProxy</span> <span data-x="dom-parent">parent</span>;
   readonly attribute <span>Element</span>? <span data-x="dom-frameElement">frameElement</span>;
   <span>WindowProxy</span> <span data-x="dom-open">open</span>(optional DOMString url = "about:blank", optional DOMString target = "_blank", optional DOMString features = "", optional boolean replace = false);



More information about the Commit-Watchers mailing list