W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2010

hixie: Change the cloning algorithm to throw an exception if passed an object that won't clone right. (whatwg r5060)

From: poot <cvsmail@w3.org>
Date: Sat, 17 Apr 2010 09:25:59 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100417002559.517D52BC92@toro.w3.mag.keio.ac.jp>
hixie: Change the cloning algorithm to throw an exception if passed an
object that won't clone right. (whatwg r5060)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4064&r2=1.4065&f=h
http://html5.org/tools/web-apps-tracker?from=5059&to=5060

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4064
retrieving revision 1.4065
diff -u -d -r1.4064 -r1.4065
--- Overview.html	16 Apr 2010 03:53:39 -0000	1.4064
+++ Overview.html	17 Apr 2010 00:25:30 -0000	1.4065
@@ -285,7 +285,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-16-april-2010">Editor's Draft 16 April 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-17-april-2010">Editor's Draft 17 April 2010</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>
@@ -392,7 +392,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 16 April 2010 Editor's Draft.
+  This specification is the 17 April 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>The contents of this specification are also part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a
   specification</a> published by the <a href="http://www.whatwg.org/">WHATWG</a>, which is available under a
   license that permits reuse of the specification text.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -6517,10 +6517,6 @@
 
    <dd><p>Return a newly constructed <code>FileList</code> object containing a list of newly constructed <code>File</code> objects corresponding to the same underlying data as those in <var title="">input</var>, maintaining their relative order.</dd>
 
-   <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt>
-
-   <dd><p>Return the null value.</dd>
-
    <dt>If <var title="">input</var> is an Array object</dt>
    <dt>If <var title="">input</var> is an Object object</dt>
 
@@ -6558,8 +6554,10 @@
     </ol></dd>
 
    <dt>If <var title="">input</var> is another native object type (e.g. <code>Error</code>)</dt>
+   <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt>
 
-   <dd><p>Return the null value.</dd>
+   <dd><p>Throw a <code><a href="#not_supported_err">NOT_SUPPORTED_ERR</a></code> exception and abort
+   the overall <a href="#structured-clone">structured clone</a> algorithm.</dd>
 
   </dl></div><h4 id="domstringmap-0"><span class="secno">2.7.6 </span>DOMStringMap</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <code><a href="#domstringmap">DOMStringMap</a></code> interface represents a set of
   name-value pairs. It exposes these using the scripting language's
Received on Saturday, 17 April 2010 00:26:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:19 GMT