html5/spec common-dom-interfaces.html,1.81,1.82 spec.html,1.1729,1.1730

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv4394

Modified Files:
	common-dom-interfaces.html spec.html 
Log Message:
Update postMessage() to do the transfers after the cloning so that if cloning fails, the transferables don't get killed. (whatwg r6697)

[updated by splitter]


Index: common-dom-interfaces.html
===================================================================
RCS file: /sources/public/html5/spec/common-dom-interfaces.html,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- common-dom-interfaces.html	7 Oct 2011 22:46:26 -0000	1.81
+++ common-dom-interfaces.html	19 Oct 2011 01:46:25 -0000	1.82
@@ -1011,9 +1011,8 @@
   clone</dfn> of a value, optionally with a <i>transfer map</i>, it
   must run the following algorithm, which either returns a separate
   value, or throws an exception. If a <i>transfer map</i> is provided,
-  it consists of a association list of pairs of
-  <code><a href="#transferable">Transferable</a></code> objects; in each pair, one is the
-  <em>old</em> object and one is the <em>new</em> object.</p>
+  it consists of a association list of <code><a href="#transferable">Transferable</a></code>
+  objects to placeholder objects.</p>
 
   <ol><li><p>Let <var title="">input</var> be the value being
    cloned.</p></li>
@@ -1028,9 +1027,9 @@
    <em>source</em> object and the other the <em>destination</em>
    object.</p></li>
 
-   <li><p>For each pair of objects in <var title="">transfer
-   map</var>, add a mapping from the old object (the source object) to
-   the new object (the destination object) to <var title="">memory</var>.</p></li>
+   <li><p>For each mapping in <var title="">transfer map</var>, add a
+   mapping from the <code><a href="#transferable">Transferable</a></code> object (the source
+   object) to the placeholder object (the destination object) to <var title="">memory</var>.</p></li>
 
    <li><p>Let <var title="">output</var> be the value resulting from
    calling the <a href="#internal-structured-cloning-algorithm">internal structured cloning algorithm</a> with

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1729
retrieving revision 1.1730
diff -u -d -r1.1729 -r1.1730
--- spec.html	18 Oct 2011 23:46:25 -0000	1.1729
+++ spec.html	19 Oct 2011 01:46:26 -0000	1.1730
@@ -324,7 +324,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-18-october-2011">Editor's Draft 18 October 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-19-october-2011">Editor's Draft 19 October 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -349,7 +349,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">web developer edition</a>.
-This is revision 1.5367.
+This is revision 1.5368.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2011 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -470,7 +470,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 18 October 2011 Editor's Draft.
+  This specification is the 19 October 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5

Received on Wednesday, 19 October 2011 01:46:35 UTC