[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 10:34:49 PST 2014


--- Comment #28 from Tibor Mészáros <tmeszaros.u-szeged at partner.samsung.com>  2014-03-06 10:31:50 PST ---
(In reply to comment #27)
> And my real point is that this patch introduced a regression!

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.

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.

I hope this will be good solution.

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