[html5] r8444 - [e] (0) Ok, go back to exposing MessageEvent.source in one form everywhere, rely [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jan 29 18:41:50 PST 2014


Author: ianh
Date: 2014-01-29 18:41:49 -0800 (Wed, 29 Jan 2014)
New Revision: 8444

Modified:
   complete.html
   index
   source
Log:
[e] (0) Ok, go back to exposing MessageEvent.source in one form everywhere, relying on WebIDL for the rest of the logic here
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22646
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2014-01-30 02:38:26 UTC (rev 8443)
+++ complete.html	2014-01-30 02:41:49 UTC (rev 8444)
@@ -79195,19 +79195,10 @@
   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>;
+  readonly attribute (<a href=#windowproxy>WindowProxy</a> or <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-30 02:38:26 UTC (rev 8443)
+++ index	2014-01-30 02:41:49 UTC (rev 8444)
@@ -79195,19 +79195,10 @@
   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>;
+  readonly attribute (<a href=#windowproxy>WindowProxy</a> or <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-30 02:38:26 UTC (rev 8443)
+++ source	2014-01-30 02:41:49 UTC (rev 8444)
@@ -88766,19 +88766,10 @@
   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>;
+  readonly attribute (<span>WindowProxy</span> or <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