[Bug 16597] Regarding item 4: "timeout" may be passed as a native array, e.g. setTimeout(do_simething, [10]), in which case it needs to be un-wrapped to an integer

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16597

Ms2ger <Ms2ger@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |Ms2ger@gmail.com
         Resolution|                            |WORKSFORME

--- Comment #1 from Ms2ger <Ms2ger@gmail.com> 2012-05-14 17:17:33 UTC ---
Indeed. This is handled by WebIDL and ES5. ToUint32 calls ToNumber calls
ToPrimitive [Number] which calls [10].toString(), which is "10", which is
turned into 10 by ToNumber.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 14 May 2012 17:17:37 UTC