[html5] r8430 - [e] (0) Try doing this a different way (MessageEvent.source exposure) Fixing htt [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 28 12:34:27 PST 2014


Author: ianh
Date: 2014-01-28 12:34:26 -0800 (Tue, 28 Jan 2014)
New Revision: 8430

Modified:
   complete.html
   index
   source
Log:
[e] (0) Try doing this a different way (MessageEvent.source exposure)
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22646
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2014-01-28 20:29:43 UTC (rev 8429)
+++ complete.html	2014-01-28 20:34:26 UTC (rev 8430)
@@ -78777,11 +78777,19 @@
   readonly attribute DOMString <a href=#dom-messageevent-origin title=dom-MessageEvent-origin>origin</a>;
   readonly attribute DOMString <a href=#dom-messageevent-lasteventid title=dom-MessageEvent-lastEventId>lastEventId</a>;
   readonly attribute DOMString <a href=#dom-messageevent-channel title=dom-MessageEvent-channel>channel</a>;
-  [Exposed=Window] readonly attribute (<a href=#windowproxy>WindowProxy</a> or <a href=#messageport>MessagePort</a>)? <a href=#dom-messageevent-source title=dom-MessageEvent-source>source</a>;
-  [Exposed=Worker] readonly attribute <a href=#messageport>MessagePort</a>? <a href=#dom-messageevent-source title=dom-MessageEvent-source>source</a>;
   readonly attribute <a href=#messageport>MessagePort</a>[]? <a href=#dom-messageevent-ports title=dom-MessageEvent-ports>ports</a>;
 };
 
+[Exposed=Window]
+partial interface <a href=#messageevent>MessageEvent</a> {
+  readonly attribute (<a href=#windowproxy>WindowProxy</a> or <a href=#messageport>MessagePort</a>)? <a href=#dom-messageevent-source title=dom-MessageEvent-source>source</a>;
+}
+
+[Exposed=Worker]
+partial interface <a href=#messageevent>MessageEvent</a> {
+  readonly attribute <a href=#messageport>MessagePort</a>? <a href=#dom-messageevent-source title=dom-MessageEvent-source>source</a>;
+}
+
 dictionary <dfn id=messageeventinit>MessageEventInit</dfn> : <a href=#eventinit>EventInit</a> {
   any data;
   DOMString origin;

Modified: index
===================================================================
--- index	2014-01-28 20:29:43 UTC (rev 8429)
+++ index	2014-01-28 20:34:26 UTC (rev 8430)
@@ -78777,11 +78777,19 @@
   readonly attribute DOMString <a href=#dom-messageevent-origin title=dom-MessageEvent-origin>origin</a>;
   readonly attribute DOMString <a href=#dom-messageevent-lasteventid title=dom-MessageEvent-lastEventId>lastEventId</a>;
   readonly attribute DOMString <a href=#dom-messageevent-channel title=dom-MessageEvent-channel>channel</a>;
-  [Exposed=Window] readonly attribute (<a href=#windowproxy>WindowProxy</a> or <a href=#messageport>MessagePort</a>)? <a href=#dom-messageevent-source title=dom-MessageEvent-source>source</a>;
-  [Exposed=Worker] readonly attribute <a href=#messageport>MessagePort</a>? <a href=#dom-messageevent-source title=dom-MessageEvent-source>source</a>;
   readonly attribute <a href=#messageport>MessagePort</a>[]? <a href=#dom-messageevent-ports title=dom-MessageEvent-ports>ports</a>;
 };
 
+[Exposed=Window]
+partial interface <a href=#messageevent>MessageEvent</a> {
+  readonly attribute (<a href=#windowproxy>WindowProxy</a> or <a href=#messageport>MessagePort</a>)? <a href=#dom-messageevent-source title=dom-MessageEvent-source>source</a>;
+}
+
+[Exposed=Worker]
+partial interface <a href=#messageevent>MessageEvent</a> {
+  readonly attribute <a href=#messageport>MessagePort</a>? <a href=#dom-messageevent-source title=dom-MessageEvent-source>source</a>;
+}
+
 dictionary <dfn id=messageeventinit>MessageEventInit</dfn> : <a href=#eventinit>EventInit</a> {
   any data;
   DOMString origin;

Modified: source
===================================================================
--- source	2014-01-28 20:29:43 UTC (rev 8429)
+++ source	2014-01-28 20:34:26 UTC (rev 8430)
@@ -88265,11 +88265,19 @@
   readonly attribute DOMString <span data-x="dom-MessageEvent-origin">origin</span>;
   readonly attribute DOMString <span data-x="dom-MessageEvent-lastEventId">lastEventId</span>;
   readonly attribute DOMString <span data-x="dom-MessageEvent-channel">channel</span>;
-  [Exposed=Window] readonly attribute (<span>WindowProxy</span> or <span>MessagePort</span>)? <span data-x="dom-MessageEvent-source">source</span>;
-  [Exposed=Worker] readonly attribute <span>MessagePort</span>? <span data-x="dom-MessageEvent-source">source</span>;
   readonly attribute <span>MessagePort</span>[]? <span data-x="dom-MessageEvent-ports">ports</span>;
 };
 
+[Exposed=Window]
+partial interface <span>MessageEvent</span> {
+  readonly attribute (<span>WindowProxy</span> or <span>MessagePort</span>)? <span data-x="dom-MessageEvent-source">source</span>;
+}
+
+[Exposed=Worker]
+partial interface <span>MessageEvent</span> {
+  readonly attribute <span>MessagePort</span>? <span data-x="dom-MessageEvent-source">source</span>;
+}
+
 dictionary <dfn>MessageEventInit</dfn> : <span>EventInit</span> {
   any data;
   DOMString origin;




More information about the Commit-Watchers mailing list