[html5] r6085 - [e] (0) clarification Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12221
whatwg at whatwg.org
whatwg at whatwg.org
Thu May 5 14:31:55 PDT 2011
Author: ianh
Date: 2011-05-05 14:31:54 -0700 (Thu, 05 May 2011)
New Revision: 6085
Modified:
complete.html
index
source
Log:
[e] (0) clarification
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12221
Modified: complete.html
===================================================================
--- complete.html 2011-05-05 21:16:33 UTC (rev 6084)
+++ complete.html 2011-05-05 21:31:54 UTC (rev 6085)
@@ -8273,7 +8273,7 @@
<li>
<p>If <var title="">input</var> is an Array object or an Object
- object, then, for each enumerable property in <var title="">input</var>, add a corresponding property to <var title="">output</var> having the same name, and having a value
+ 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 and <var title="">memory</var> as the "<var title="">memory</var>"
@@ -8282,6 +8282,12 @@
<p class=note>This does not walk the prototype chain.</p>
+ <p class=note>Property descriptors, setters, getters, and
+ analogous features are not copied in this process. For example,
+ the property in the input could be marked as read-only, but in the
+ output it would just have the default state (typically read-write,
+ though that could depend on the scripting environment).</p>
+
</li>
<li><p>Return <var title="">output</var>.</li>
Modified: index
===================================================================
--- index 2011-05-05 21:16:33 UTC (rev 6084)
+++ index 2011-05-05 21:31:54 UTC (rev 6085)
@@ -8298,7 +8298,7 @@
<li>
<p>If <var title="">input</var> is an Array object or an Object
- object, then, for each enumerable property in <var title="">input</var>, add a corresponding property to <var title="">output</var> having the same name, and having a value
+ 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 and <var title="">memory</var> as the "<var title="">memory</var>"
@@ -8307,6 +8307,12 @@
<p class=note>This does not walk the prototype chain.</p>
+ <p class=note>Property descriptors, setters, getters, and
+ analogous features are not copied in this process. For example,
+ the property in the input could be marked as read-only, but in the
+ output it would just have the default state (typically read-write,
+ though that could depend on the scripting environment).</p>
+
</li>
<li><p>Return <var title="">output</var>.</li>
Modified: source
===================================================================
--- source 2011-05-05 21:16:33 UTC (rev 6084)
+++ source 2011-05-05 21:31:54 UTC (rev 6085)
@@ -8288,7 +8288,7 @@
<p>If <var title="">input</var> is an Array object or an Object
object, then, for each enumerable property in <var
- title="">input</var>, add a corresponding property to <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 <span>internal structured cloning
algorithm</span> recursively with the value of the property as the
@@ -8300,6 +8300,12 @@
<p class="note">This does not walk the prototype chain.</p>
+ <p class="note">Property descriptors, setters, getters, and
+ analogous features are not copied in this process. For example,
+ the property in the input could be marked as read-only, but in the
+ output it would just have the default state (typically read-write,
+ though that could depend on the scripting environment).</p>
+
</li>
<li><p>Return <var title="">output</var>.</p></li>
More information about the Commit-Watchers
mailing list