Skip to content

Commit

Permalink
[giow] (2) Change the cloning algorithm to throw an exception if pass…
Browse files Browse the repository at this point in the history
…ed an object that won't clone right.

git-svn-id: http://svn.whatwg.org/webapps@5060 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 17, 2010
1 parent dd1657d commit 4655532
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
10 changes: 4 additions & 6 deletions complete.html
Expand Up @@ -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 &mdash; 16 April 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 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>-->
Expand Down Expand Up @@ -7515,10 +7515,6 @@ <h4 id=safe-passing-of-structured-data><span class=secno>2.7.5 </span>Safe passi

<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>

Expand Down Expand Up @@ -7556,8 +7552,10 @@ <h4 id=safe-passing-of-structured-data><span class=secno>2.7.5 </span>Safe passi
</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>

Expand Down
10 changes: 4 additions & 6 deletions index
Expand Up @@ -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 &mdash; 16 April 2010</h2>
<h2 class="no-num no-toc">Draft Standard &mdash; 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>-->
Expand Down Expand Up @@ -7413,10 +7413,6 @@ interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <a href=#nodelist>No

<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>

Expand Down Expand Up @@ -7454,8 +7450,10 @@ interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <a href=#nodelist>No
</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>

Expand Down
8 changes: 3 additions & 5 deletions source
Expand Up @@ -7304,10 +7304,6 @@ interface <dfn>PropertyNodeList</dfn> : <span>NodeList</span> {

<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>

Expand Down Expand Up @@ -7351,8 +7347,10 @@ interface <dfn>PropertyNodeList</dfn> : <span>NodeList</span> {
</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>

Expand Down

0 comments on commit 4655532

Please sign in to comment.