W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2011

html5/spec Overview.html,1.5367,1.5368

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 19 Oct 2011 00:49:49 +0000
To: public-html-commits@w3.org
Message-Id: <E1RGKLu-0007Ad-2T@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv27540

Modified Files:
	Overview.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)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5367
retrieving revision 1.5368
diff -u -d -r1.5367 -r1.5368
--- Overview.html	18 Oct 2011 23:04:00 -0000	1.5367
+++ Overview.html	19 Oct 2011 00:49:45 -0000	1.5368
@@ -320,7 +320,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>
@@ -466,7 +466,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
@@ -7462,9 +7462,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.</li>
@@ -7479,9 +7478,9 @@
    <em>source</em> object and the other the <em>destination</em>
    object.</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>.</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>.</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
Received on Wednesday, 19 October 2011 00:49:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 19 October 2011 00:49:54 GMT