2010-07-23 Helder Correia <heldercorreia@codeaurora.org>
authorandreas.kling@nokia.com <andreas.kling@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Jul 2010 21:11:35 +0000 (21:11 +0000)
committerandreas.kling@nokia.com <andreas.kling@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Jul 2010 21:11:35 +0000 (21:11 +0000)
commit0b2b8c2adb4208a450abb88bac4d4512cb505742
treeaff9bd6fbaaea284e0b11303fd997832a6c06709
parentd39d5fa5cb8a1af150e8915a8ab8b8bf3a1ebbcb
2010-07-23  Helder Correia  <heldercorreia@codeaurora.org>

        Reviewed by Darin Adler.

        Canvas tests 2d.imageData.object.round and 2d.imageData.object.wrap are
        failing. For canvas image data manipulation, the values passed should
        be truncated and wrapped. Also fix the canvas-ImageData-behaviour test
        to expect wrapping rather than clamping, and add some new checkings.
        https://bugs.webkit.org/show_bug.cgi?id=40272

        * runtime/JSByteArray.h:
        (JSC::JSByteArray::setIndex):
        (JSC::JSByteArray::JSByteArray):
2010-07-23  Helder Correia  <heldercorreia@codeaurora.org>

        Reviewed by Darin Adler.

        Canvas tests 2d.imageData.object.round and 2d.imageData.object.wrap are
        failing. For canvas image data manipulation, the values passed should
        be truncated and wrapped. Also fix the canvas-ImageData-behaviour test
        to expect wrapping rather than clamping, and add some new checkings.
        https://bugs.webkit.org/show_bug.cgi?id=40272

        * canvas/philip/tests/2d.imageData.object.round-expected.txt:
        * canvas/philip/tests/2d.imageData.object.round.html:
        * canvas/philip/tests/2d.imageData.object.wrap-expected.txt:
        * fast/canvas/canvas-ImageData-behaviour-expected.txt:
        * fast/canvas/canvas-ImageData-behaviour.js:
        * platform/mac/Skipped:
        * platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@64156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/runtime/JSByteArray.h
LayoutTests/ChangeLog
LayoutTests/canvas/philip/tests/2d.imageData.object.round-expected.txt
LayoutTests/canvas/philip/tests/2d.imageData.object.round.html
LayoutTests/canvas/philip/tests/2d.imageData.object.wrap-expected.txt
LayoutTests/fast/canvas/canvas-ImageData-behaviour-expected.txt
LayoutTests/fast/canvas/canvas-ImageData-behaviour.js
LayoutTests/platform/mac/Skipped
LayoutTests/platform/qt/Skipped