W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2012

html5/postmsg Overview.html,1.117,1.118

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 01 Jun 2012 22:44:18 +0000
To: public-html-commits@w3.org
Message-Id: <E1SaaZu-0003Ut-Mz@lionel-hutz.w3.org>
Update of /sources/public/html5/postmsg
In directory hutz:/tmp/cvs-serv13429

Modified Files:
	Overview.html 
Log Message:
Update 'connect' events in shared workers to include the port on event.source, as well as event.ports[0], to make the event more intuitive. (whatwg r7114)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/postmsg/Overview.html,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -d -r1.117 -r1.118
--- Overview.html	8 May 2012 19:51:59 -0000	1.117
+++ Overview.html	1 Jun 2012 22:44:16 -0000	1.118
@@ -216,7 +216,7 @@
 
    <h1>HTML5 Web Messaging</h1>
    
-   <h2 class="no-num no-toc" id="editor-s-draft-8-may-2012">Editor's Draft 8 May 2012</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-1-june-2012">Editor's Draft 1 June 2012</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/webmessaging/">http://www.w3.org/TR/webmessaging/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -350,7 +350,7 @@
   </dl><p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications
   Working Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation track.
-  This specification is the 8 May 2012 Editor's Draft.
+  This specification is the 1 June 2012 Editor's Draft.
   </p>
 
   
@@ -501,7 +501,7 @@
   readonly attribute any <a href="#dom-messageevent-data" title="dom-MessageEvent-data">data</a>;
   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 <span>WindowProxy</span>? <a href="#dom-messageevent-source" title="dom-MessageEvent-source">source</a>;
+  readonly attribute (<span>WindowProxy</span> 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>;
 };
 
@@ -544,7 +544,9 @@
    <dd>
 
     <p>Returns the <code>WindowProxy</code> of the source window, for
-    <a href="#web-messaging">cross-document messaging</a>.</p>
+    <a href="#web-messaging">cross-document messaging</a>, and the
+    <code><a href="#messageport">MessagePort</a></code> being attached, in the <code title="event-connect">connect</code> event fired at
+    <code>SharedWorkerGlobalScope</code> objects.</p>
 
    </dd>
 
@@ -585,7 +587,9 @@
   created, this attribute must be initialized to null. It represents,
   in <a href="#web-messaging">cross-document messaging</a>, the
   <code>WindowProxy</code> of the <span>browsing context</span> of the
-  <code>Window</code> object from which the message came.</p>
+  <code>Window</code> object from which the message came; and in the
+  <code title="event-connect">connect</code> events used by <span title="SharedWorkerGlobalScope">shared workers</span>, the newly
+  connecting <code><a href="#messageport">MessagePort</a></code>.</p>
 
   <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
Received on Friday, 1 June 2012 22:44:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 June 2012 22:44:23 GMT