W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2012

[Bug 19143] setTimeout and setInterval should clamp at the maximum timeout value

From: <bugzilla@jessica.w3.org>
Date: Sat, 29 Sep 2012 16:06:21 +0000
Message-Id: <E1THzYb-0003F8-Lg@jessica.w3.org>
To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19143

--- Comment #2 from Aaron McBride <nogwater@gmail.com> 2012-09-29 16:06:21 UTC ---
Would it be possible to clamp before doing ToUint32, so -1 would become 4
before underflowing?  If that's not possible, then I agree that the type change
isn't worth all of the problems.  That aside, does clamping the max make sense?

-- 
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 Saturday, 29 September 2012 16:06:27 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:33 UTC