- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 16 Dec 2008 19:46:56 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv24449
Modified Files:
Overview.html
Log Message:
Clean things up with the 'structured cloning' stuff. (whatwg r2535)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1705
retrieving revision 1.1706
diff -u -d -r1.1705 -r1.1706
--- Overview.html 16 Dec 2008 06:35:53 -0000 1.1705
+++ Overview.html 16 Dec 2008 19:46:53 -0000 1.1706
@@ -4665,7 +4665,7 @@
<dfn id=dom-tokenlist-tostring title=dom-tokenlist-toString>stringify</dfn> to the object's
underlying string representation.<h4 id=safe-passing-of-structured-data><span class=secno>2.8.4 </span>Safe passing of structured data</h4><p>When a user agent is required to obtain a <dfn id=structured-clone>structured
clone</dfn> of an object, it must run the following algorithm, which
- either returns a separate object, or returns an exception.<ol><li><p>Let <var title="">input</var> be the object being
+ either returns a separate object, or throws an exception.<ol><li><p>Let <var title="">input</var> be the object being
cloned.</li>
<li><p>Let <var title="">memory</var> be a list of objects,
@@ -4715,7 +4715,7 @@
<dd>
- <ol><li><p>If <var title="">input</var> is in <var title="">memory</var>, then return a
+ <ol><li><p>If <var title="">input</var> is in <var title="">memory</var>, then 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.</li>
@@ -4732,7 +4732,7 @@
same name, and having a value created from invoking the
<a href=#internal-structured-cloning-algorithm>internal structured cloning algorithm</a> recursively
with the value of the property as the "<var title="">input</var>"
- arguemnt and <var title="">new memory</var> as the "<var title="">memory</var>" argument. The order of the properties in
+ argument and <var title="">new memory</var> as the "<var title="">memory</var>" argument. The order of the properties in
the <var title="">input</var> and <var title="">output</var>
objects must be the same.</li>
@@ -35615,13 +35615,11 @@
<li>
- <p>Let <var title="">message clone</var> be the result of
- obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument.</p>
-
- <p>If doing this raised an exception, then raise that exception
- and abort these steps.</p>
+ <li><p>Let <var title="">message clone</var> be the result of
+ obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this throws an exception, then
+ throw that exception and abort these steps.</li>
- </li>
+
<li>
@@ -35689,8 +35687,8 @@
<li>
<p>Let <var title="">message clone</var> be the result of
- obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this returns an exception,
- then throw that exception and abort these steps.</p>
+ obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this throws an exception, then
+ throw that exception and abort these steps.</p>
</li>
@@ -35874,7 +35872,7 @@
argument, if any.</li>
<li><p>Let <var title="">message clone</var> be the result of
- obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this returns an exception, then
+ obtaining a <a href=#structured-clone>structured clone</a> of the <var title="">message</var> argument. If this throws an exception, then
throw that exception and abort these steps.</li>
<li><p>If the <var title="">source port</var> is not entangled with
Received on Tuesday, 16 December 2008 19:47:09 UTC