[html5] r5549 - [giow] (1) Oops, forgot that numbers and Numbers were distinct in JS. Fixing htt [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 29 00:03:42 PDT 2010


Author: ianh
Date: 2010-09-29 00:03:41 -0700 (Wed, 29 Sep 2010)
New Revision: 5549

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Oops, forgot that numbers and Numbers were distinct in JS.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10627

Modified: complete.html
===================================================================
--- complete.html	2010-09-29 06:51:32 UTC (rev 5548)
+++ complete.html	2010-09-29 07:03:41 UTC (rev 5549)
@@ -7623,6 +7623,18 @@
 
    <dd><p>Return the true value.</dd>
 
+   <dt>If <var title="">input</var> is a number</dt>
+
+   <dd><p>Return the same number.</dd>
+
+   <dt>If <var title="">input</var> is a string</dt>
+
+   <dd><p>Return the same string.</dd>
+
+   <dt>If <var title="">input</var> is a Boolean object</dt>
+
+   <dd><p>Return a newly constructed Boolean object with the same value as <var title="">input</var>.</dd>
+
    <dt>If <var title="">input</var> is a Number object</dt>
 
    <dd><p>Return a newly constructed Number object with the same value as <var title="">input</var>.</dd>
@@ -7702,7 +7714,7 @@
 
     </ol></dd>
 
-   <dt>If <var title="">input</var> is another native object type (e.g. <code>Error</code>)</dt>
+   <dt>If <var title="">input</var> is another native object type (e.g. <code>Error</code>, <code><a href=#function>Function</a></code>)</dt>
    <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt>
 
    <dd><p>Throw a <code><a href=#data_clone_err>DATA_CLONE_ERR</a></code> exception and abort the

Modified: index
===================================================================
--- index	2010-09-29 06:51:32 UTC (rev 5548)
+++ index	2010-09-29 07:03:41 UTC (rev 5549)
@@ -7600,6 +7600,18 @@
 
    <dd><p>Return the true value.</dd>
 
+   <dt>If <var title="">input</var> is a number</dt>
+
+   <dd><p>Return the same number.</dd>
+
+   <dt>If <var title="">input</var> is a string</dt>
+
+   <dd><p>Return the same string.</dd>
+
+   <dt>If <var title="">input</var> is a Boolean object</dt>
+
+   <dd><p>Return a newly constructed Boolean object with the same value as <var title="">input</var>.</dd>
+
    <dt>If <var title="">input</var> is a Number object</dt>
 
    <dd><p>Return a newly constructed Number object with the same value as <var title="">input</var>.</dd>
@@ -7679,7 +7691,7 @@
 
     </ol></dd>
 
-   <dt>If <var title="">input</var> is another native object type (e.g. <code>Error</code>)</dt>
+   <dt>If <var title="">input</var> is another native object type (e.g. <code>Error</code>, <code><a href=#function>Function</a></code>)</dt>
    <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt>
 
    <dd><p>Throw a <code><a href=#data_clone_err>DATA_CLONE_ERR</a></code> exception and abort the

Modified: source
===================================================================
--- source	2010-09-29 06:51:32 UTC (rev 5548)
+++ source	2010-09-29 07:03:41 UTC (rev 5549)
@@ -7476,6 +7476,18 @@
 
    <dd><p>Return the true value.</p></dd>
 
+   <dt>If <var title="">input</var> is a number</dt>
+
+   <dd><p>Return the same number.</p></dd>
+
+   <dt>If <var title="">input</var> is a string</dt>
+
+   <dd><p>Return the same string.</p></dd>
+
+   <dt>If <var title="">input</var> is a Boolean object</dt>
+
+   <dd><p>Return a newly constructed Boolean object with the same value as <var title="">input</var>.</p></dd>
+
    <dt>If <var title="">input</var> is a Number object</dt>
 
    <dd><p>Return a newly constructed Number object with the same value as <var title="">input</var>.</p></dd>
@@ -7563,7 +7575,7 @@
 
    </dd>
 
-   <dt>If <var title="">input</var> is another native object type (e.g. <code>Error</code>)</dt>
+   <dt>If <var title="">input</var> is another native object type (e.g. <code>Error</code>, <code>Function</code>)</dt>
    <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt>
 
    <dd><p>Throw a <code>DATA_CLONE_ERR</code> exception and abort the




More information about the Commit-Watchers mailing list