[Webkit-unassigned] [Bug 104147] Math.{max, min}() must not return after first NaN value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 6 15:06:52 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=104147





--- Comment #29 from Darin Adler <darin at apple.com>  2014-03-06 15:03:53 PST ---
(In reply to comment #28)
> I had tested that problem that you talking about. What I found:
> 
> - If there is more exception, it will not stop at the first, but the return value will be the first exception.

That sounds right.

> Solution: If I add an if statement before the first if, we can check that there were any exception. If it was, drop a break, and the result will be this exception.

Yes, this is the solution I had in mind.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list