[Webkit-unassigned] [Bug 105253] 2 clampTo unit tests are failing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 18 11:01:00 PST 2012


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





--- Comment #2 from Emil A Eklund <eae at chromium.org>  2012-12-18 11:03:17 PST ---
The windows unsigned failure is due to sizeof(unsigned long) == sizeof(unsigned) on windows 64bit (as it used the LLP64 memory model).

Adding a sizeof check as you have for clampToIntLong should do the trick.

The chromium mac failure seems to be due to float imprecision, EXPECT_NEAR with a tolerance of 1 should do the trick.

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