- From: poot <cvsmail@w3.org>
- Date: Thu, 05 May 2011 17:34:39 -0400
- To: public-html-diffs@w3.org
hixie: clarification (whatwg r6085)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4888&r2=1.4889&f=h
http://html5.org/tools/web-apps-tracker?from=6084&to=6085
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4888
retrieving revision 1.4889
diff -u -d -r1.4888 -r1.4889
--- Overview.html 5 May 2011 21:16:40 -0000 1.4888
+++ Overview.html 5 May 2011 21:31:59 -0000 1.4889
@@ -7125,7 +7125,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>"
@@ -7134,6 +7134,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>
Received on Thursday, 5 May 2011 21:34:40 UTC