W3C home > Mailing lists > Public > public-html-commits@w3.org > May 2011

html5/spec Overview.html,1.4888,1.4889

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 05 May 2011 21:32:04 +0000
To: public-html-commits@w3.org
Message-Id: <E1QI69U-0006la-CX@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv25994

Modified Files:
	Overview.html 
Log Message:
clarification (whatwg r6085)

Index: Overview.html
===================================================================
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:32:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 May 2011 21:32:05 GMT