[html5] r2535 - [e] (0) Clean things up with the 'structured cloning' stuff.

whatwg at whatwg.org whatwg at whatwg.org
Tue Dec 16 11:46:49 PST 2008


Author: ianh
Date: 2008-12-16 11:46:48 -0800 (Tue, 16 Dec 2008)
New Revision: 2535

Modified:
   index
   source
Log:
[e] (0) Clean things up with the 'structured cloning' stuff.

Modified: index
===================================================================
--- index	2008-12-16 06:35:48 UTC (rev 2534)
+++ index	2008-12-16 19:46:48 UTC (rev 2535)
@@ -5564,7 +5564,7 @@
 
   <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.</p>
+  either returns a separate object, or throws an exception.</p>
 
   <ol><li><p>Let <var title="">input</var> be the object being
    cloned.</li>
@@ -5618,7 +5618,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>
 
@@ -5635,7 +5635,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>
 
@@ -44306,14 +44306,12 @@
 
    <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>
+    <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>
 
-    <p>If doing this raised an exception, then raise that exception
-    and abort these steps.</p>
+   
 
-   </li>
-
    <li>
 
     <p>Return from the <code title=dom-window-postMessage-2><a href=#dom-window-postmessage-2>postMessage()</a></code> method, but
@@ -44382,8 +44380,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>
 
@@ -44613,7 +44611,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

Modified: source
===================================================================
--- source	2008-12-16 06:35:48 UTC (rev 2534)
+++ source	2008-12-16 19:46:48 UTC (rev 2535)
@@ -5521,7 +5521,7 @@
 
   <p>When a user agent is required to obtain a <dfn>structured
   clone</dfn> of an object, it must run the following algorithm, which
-  either returns a separate object, or returns an exception.</p>
+  either returns a separate object, or throws an exception.</p>
 
   <ol>
 
@@ -5586,7 +5586,7 @@
     <ol>
 
      <li><p>If <var title="">input</var> is in <var
-     title="">memory</var>, then return a
+     title="">memory</var>, then throw a
      <code>NOT_SUPPORTED_ERR</code> exception and abort the overall
      <span>structured clone</span> algorithm.</p></li>
 
@@ -5603,7 +5603,7 @@
      same name, and having a value created from invoking the
      <span>internal structured cloning algorithm</span> recursively
      with the value of the property as the "<var title="">input</var>"
-     arguemnt and <var title="">new memory</var> as the "<var
+     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.</p></li>
@@ -50591,13 +50591,11 @@
 
    <li>
 
-    <p>Let <var title="">message clone</var> be the result of
+    <li><p>Let <var title="">message clone</var> be the result of
     obtaining a <span>structured clone</span> of the <var
-    title="">message</var> argument.</p>
+    title="">message</var> argument. If this throws an exception, then
+    throw that exception and abort these steps.</p></li>
 
-    <p>If doing this raised an exception, then raise that exception
-    and abort these steps.</p>
-
    </li>
 
    <li>
@@ -50688,8 +50686,8 @@
 
     <p>Let <var title="">message clone</var> be the result of
     obtaining a <span>structured clone</span> of the <var
-    title="">message</var> argument. If this returns an exception,
-    then throw that exception and abort these steps.</p>
+    title="">message</var> argument. If this throws an exception, then
+    throw that exception and abort these steps.</p>
 
    </li>
 
@@ -50965,7 +50963,7 @@
 
    <li><p>Let <var title="">message clone</var> be the result of
    obtaining a <span>structured clone</span> of the <var
-   title="">message</var> argument. If this returns an exception, then
+   title="">message</var> argument. If this throws an exception, then
    throw that exception and abort these steps.</p></li>
 
    <li><p>If the <var title="">source port</var> is not entangled with




More information about the Commit-Watchers mailing list