DescriptionFix rounding in Uint8ClampedArray setter.
According to Web IDL spec, we should round to
the nearest integer, choosing the even integer
if it lies halfway between two.
R=yangguo@chromium.org,kbr@chromium.org
BUG=v8:2294
Committed: https://code.google.com/p/v8/source/detail?r=12364
Patch Set 1 #
Total comments: 8
Patch Set 2 : Fix windows compile error, address comments. #Patch Set 3 : Add missing test file #Patch Set 4 : Fix manual rounding #
Messages
Total messages: 4 (0 generated)
|