postmsg; hixie: Clarify that you can transfer a port more than once by avoiding confusing terminology that suggested otherwise. (whatwg r6653)

postmsg; hixie: Clarify that you can transfer a port more than once by
avoiding confusing terminology that suggested otherwise. (whatwg r6653)

http://dev.w3.org/cvsweb/html5/postmsg/Overview.html?r1=1.100&r2=1.101&f=h
http://html5.org/tools/web-apps-tracker?from=6652&to=6653

===================================================================
RCS file: /sources/public/html5/postmsg/Overview.html,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- Overview.html 6 Oct 2011 22:44:35 -0000 1.100
+++ Overview.html 7 Oct 2011 22:01:50 -0000 1.101
@@ -215,7 +215,7 @@
 
    <h1>HTML5 Web Messaging</h1>
    
-   <h2 class="no-num no-toc" id="editor-s-draft-6-october-2011">Editor's Draft 6 October 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-7-october-2011">Editor's Draft 7 October 2011</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>
@@ -317,7 +317,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 6 October 2011 Editor's Draft.
+  This specification is the 7 October 2011 Editor's Draft.
   </p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
   February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of
   any patent disclosures</a> made in connection with the deliverables
@@ -654,9 +654,9 @@
 
       <p>If any object is listed in <var title="">transfer</var> more
       than once, or any of the <code>Transferable</code> objects
-      listed in <var title="">transfer</var> have already been <span title="transfer a Transferable object">transfered</span> once
-      before, then throw a <code>DataCloneError</code> exception and
-      abort these steps.</p>
+      listed in <var title="">transfer</var> are marked as <span title="concept-Transferable-neutered">neutered</span>, then
+      throw a <code>DataCloneError</code> exception and abort these
+      steps.</p>
 
      </li>
 
@@ -668,9 +668,9 @@
       object">transferring</span> the object to the
       <code>Window</code> object on which the method was invoked, and
       add a mapping from the old object to the new transferred object
-      to <var title="">transfer map</var>. If the objects are
-      <code><a href="#messageport">MessagePort</a></code> objects, also append the new
-      transferred object to the <var title="">new ports</var>
+      to <var title="">transfer map</var>. For each new
+      <code><a href="#messageport">MessagePort</a></code> object obtained in this manner, append
+      the new transferred object to the <var title="">new ports</var>
       array.</p>
 
      </li>
@@ -992,7 +992,8 @@
 
   </ol><p id="transferMessagePort">To <span title="transfer a Transferable
   object">transfer</span> a <code><a href="#messageport">MessagePort</a></code> object <var title="">old</var> to a new owner <var title="">owner</var>, a user
-  agent must <a href="#clone-a-port" title="clone a port">clone</a> the <var title="">old</var> object with the cloned being owned by <var title="">owner</var>, and must return the resulting object.</p>
+  agent must <a href="#clone-a-port" title="clone a port">clone</a> the <var title="">old</var> object with the clone being owned by <var title="">owner</var>, thus obtaining <var title="">new</var>, must
+  <span title="concept-Transferable-neutered">neuter</span> the <var title="">old</var> port, and must finally return <var title="">new</var>.</p>
 
   <hr><p>The <dfn id="dom-messageport-postmessage" title="dom-MessagePort-postMessage"><code>postMessage()</code></dfn>
   method, when called on a port <var title="">source port</var>, must

Received on Friday, 7 October 2011 22:02:08 UTC