[html5] r5060 - [giow] (2) Change the cloning algorithm to throw an exception if passed an objec [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Apr 16 17:25:26 PDT 2010


Author: ianh
Date: 2010-04-16 17:25:25 -0700 (Fri, 16 Apr 2010)
New Revision: 5060

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Change the cloning algorithm to throw an exception if passed an object that won't clone right.

Modified: complete.html
===================================================================
--- complete.html	2010-04-16 03:53:32 UTC (rev 5059)
+++ complete.html	2010-04-17 00:25:25 UTC (rev 5060)
@@ -186,7 +186,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Draft Standard — 16 April 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 17 April 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -7515,10 +7515,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>
 
@@ -7556,8 +7552,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>
 

Modified: index
===================================================================
--- index	2010-04-16 03:53:32 UTC (rev 5059)
+++ index	2010-04-17 00:25:25 UTC (rev 5060)
@@ -190,7 +190,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <hgroup><h1>HTML5 (including next generation additions still in development)</h1>
-    <h2 class="no-num no-toc">Draft Standard — 16 April 2010</h2>
+    <h2 class="no-num no-toc">Draft Standard — 17 April 2010</h2>
    </hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -7413,10 +7413,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>
 
@@ -7454,8 +7450,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>
 

Modified: source
===================================================================
--- source	2010-04-16 03:53:32 UTC (rev 5059)
+++ source	2010-04-17 00:25:25 UTC (rev 5060)
@@ -7304,10 +7304,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.</p></dd>
 
-   <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt>
-
-   <dd><p>Return the null value.</p></dd>
-
    <dt>If <var title="">input</var> is an Array object</dt>
    <dt>If <var title="">input</var> is an Object object</dt>
 
@@ -7351,8 +7347,10 @@
    </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.</p></dd>
+   <dd><p>Throw a <code>NOT_SUPPORTED_ERR</code> exception and abort
+   the overall <span>structured clone</span> algorithm.</p></dd>
 
   </dl>
 




More information about the Commit-Watchers mailing list