html5/spec Overview.html,1.5136,1.5137

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv2378

Modified Files:
	Overview.html 
Log Message:
Don't bother protecting structured cloning from a getter with infinite regression, since we can't protect it from a non-terminating getter anyway. Reverts part of r6185. (whatwg r6434)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5136
retrieving revision 1.5137
diff -u -d -r1.5136 -r1.5137
--- Overview.html	12 Aug 2011 21:39:29 -0000	1.5136
+++ Overview.html	12 Aug 2011 21:46:06 -0000	1.5137
@@ -7372,18 +7372,14 @@
    <li><p>Let <var title="">output</var> be the value resulting from
    calling the <a href="#internal-structured-cloning-algorithm">internal structured cloning algorithm</a> with
    <var title="">input</var> as the "<var title="">input</var>"
-   argument, <var title="">memory</var> as the "<var title="">memory</var>" argument, and zero as the "<var title="">depth</var>" argument.</li>
+   argument, and <var title="">memory</var> as the "<var title="">memory</var>" argument.</li>
 
    <li><p>Return <var title="">output</var>.</li>
 
   </ol><p>The <dfn id="internal-structured-cloning-algorithm">internal structured cloning algorithm</dfn> is always
-  called with three arguments, <var title="">input</var>, <var title="">memory</var>, and <var title="">depth</var>, and its
-  behavior is as follows:</p>
-
-  <ol><li><p>If <var title="">depth</var> is greater than 1, return null
-   and abort these steps.</li>
+  called with two arguments, <var title="">input</var> and <var title="">memory</var>, and its behavior is as follows:</p>
 
-   <li><p>If <var title="">input</var> is the source object of a pair
+  <ol><li><p>If <var title="">input</var> is the source object of a pair
    of objects in <var title="">memory</var>, then return the
    destination object in that pair of objects and abort these
    steps.</li>
@@ -7479,11 +7475,8 @@
     object, then, for each enumerable property in <var title="">input</var>, add a new property to <var title="">output</var> having the 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>" argument, <var title="">memory</var>
-    as the "<var title="">memory</var>" argument, and <span title=""><var title="">depth</var>+<var title="">newDepth</var></span> as the "<var title="">depth</var>"
-    argument, where <var title="">newDepth</var> is zero except if
-    obtaining the value of the property involved executing script, in
-    which case it is one (1). The order of the properties in the <var title="">input</var> and <var title="">output</var> objects must
+    "<var title="">input</var>" argument and <var title="">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, and any properties that involve running script must
     be processed in that same order. If obtaining the value of the
     property involved executing script, and that script threw an

Received on Friday, 12 August 2011 21:46:12 UTC