[html5] r8260 - [giow] (1) A MessageEvent object constructed using MessageEventInit doesn't get [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Nov 6 14:01:27 PST 2013


Author: ianh
Date: 2013-11-06 14:01:25 -0800 (Wed, 06 Nov 2013)
New Revision: 8260

Modified:
   complete.html
   index
   source
Log:
[giow] (1) A MessageEvent object constructed using MessageEventInit doesn't get the actual array that was passed, that would be weird. It gets a copy.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23176
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-11-06 21:42:50 UTC (rev 8259)
+++ complete.html	2013-11-06 22:01:25 UTC (rev 8260)
@@ -77924,7 +77924,7 @@
   DOMString origin;
   DOMString lastEventId;
   (<a href=#windowproxy>WindowProxy</a> or <a href=#messageport>MessagePort</a>)? source;
-  <a href=#messageport>MessagePort</a>[]? ports;
+  sequence<<a href=#messageport>MessagePort</a>> ports;
 };</pre>
 
   <dl class=domintro><dt><var title="">event</var> . <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code></dt>
@@ -77998,7 +77998,7 @@
   <p>The <dfn id=dom-messageevent-ports title=dom-MessageEvent-ports><code>ports</code></dfn> attribute must return the
   value it was initialized to. When the object is created, this attribute must be initialized to
   null<!-- a <span title="dfn-read-only-array">read only</span> empty array-->. It represents, in
-  <a href=#web-messaging>cross-document messaging</a> and <a href=#channel-messaging>channel messaging</a> the
+  <a href=#web-messaging>cross-document messaging</a> and <a href=#channel-messaging>channel messaging</a>, the
   <code><a href=#messageport>MessagePort</a></code> array being sent, if any.</p>
 
   </div>

Modified: index
===================================================================
--- index	2013-11-06 21:42:50 UTC (rev 8259)
+++ index	2013-11-06 22:01:25 UTC (rev 8260)
@@ -77924,7 +77924,7 @@
   DOMString origin;
   DOMString lastEventId;
   (<a href=#windowproxy>WindowProxy</a> or <a href=#messageport>MessagePort</a>)? source;
-  <a href=#messageport>MessagePort</a>[]? ports;
+  sequence<<a href=#messageport>MessagePort</a>> ports;
 };</pre>
 
   <dl class=domintro><dt><var title="">event</var> . <code title=dom-MessageEvent-data><a href=#dom-messageevent-data>data</a></code></dt>
@@ -77998,7 +77998,7 @@
   <p>The <dfn id=dom-messageevent-ports title=dom-MessageEvent-ports><code>ports</code></dfn> attribute must return the
   value it was initialized to. When the object is created, this attribute must be initialized to
   null<!-- a <span title="dfn-read-only-array">read only</span> empty array-->. It represents, in
-  <a href=#web-messaging>cross-document messaging</a> and <a href=#channel-messaging>channel messaging</a> the
+  <a href=#web-messaging>cross-document messaging</a> and <a href=#channel-messaging>channel messaging</a>, the
   <code><a href=#messageport>MessagePort</a></code> array being sent, if any.</p>
 
   </div>

Modified: source
===================================================================
--- source	2013-11-06 21:42:50 UTC (rev 8259)
+++ source	2013-11-06 22:01:25 UTC (rev 8260)
@@ -87239,7 +87239,7 @@
   DOMString origin;
   DOMString lastEventId;
   (<span>WindowProxy</span> or <span>MessagePort</span>)? source;
-  <span>MessagePort</span>[]? ports;
+  sequence<<span>MessagePort</span>> ports;
 };</pre>
 
   <dl class="domintro">
@@ -87320,7 +87320,7 @@
   <p>The <dfn data-x="dom-MessageEvent-ports"><code>ports</code></dfn> attribute must return the
   value it was initialized to. When the object is created, this attribute must be initialized to
   null<!-- a <span data-x="dfn-read-only-array">read only</span> empty array-->. It represents, in
-  <span>cross-document messaging</span> and <span>channel messaging</span> the
+  <span>cross-document messaging</span> and <span>channel messaging</span>, the
   <code>MessagePort</code> array being sent, if any.</p>
 
   </div>




More information about the Commit-Watchers mailing list