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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 7 03:08:02 PST 2014


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





--- Comment #31 from Tibor Mészáros <tmeszaros.u-szeged at partner.samsung.com>  2014-03-07 03:05:02 PST ---
(In reply to comment #29)
> (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.

The patch for it: https://bugs.webkit.org/show_bug.cgi?id=129874

-- 
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