Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / canvas / canvas-createImageData-expected.txt
1 Test canvas createImageData()
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS ctx.createImageData(null) threw exception TypeError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
7 PASS imageData.width is 100
8 PASS imageData.height is 50
9 PASS imageData.data[32] is 255
10 PASS sameSizeImageData.width is 100
11 PASS sameSizeImageData.height is 50
12 PASS sameSizeImageData.data[32] is 0
13 PASS imgdata1.data.length is 800
14 PASS imgdata1.data.length is imgdata2.data.length
15 PASS imgdata2.data.length is imgdata3.data.length
16 PASS imgdata3.data.length is imgdata4.data.length
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20