OLD | NEW |
1 Test canvas createImageData() | 1 Test canvas createImageData() |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS ctx.createImageData(null) threw exception NotSupportedError: Failed to exec
ute 'createImageData' on 'CanvasRenderingContext2D': The 1st argument provided i
s either null, or an invalid ImageData object.. | 6 PASS ctx.createImageData(null) threw exception TypeError: Failed to execute 'cre
ateImageData' on 'CanvasRenderingContext2D': No function was found that matched
the signature provided.. |
7 PASS imageData.width is 100 | 7 PASS imageData.width is 100 |
8 PASS imageData.height is 50 | 8 PASS imageData.height is 50 |
9 PASS imageData.data[32] is 255 | 9 PASS imageData.data[32] is 255 |
10 PASS sameSizeImageData.width is 100 | 10 PASS sameSizeImageData.width is 100 |
11 PASS sameSizeImageData.height is 50 | 11 PASS sameSizeImageData.height is 50 |
12 PASS sameSizeImageData.data[32] is 0 | 12 PASS sameSizeImageData.data[32] is 0 |
13 PASS imgdata1.data.length is 800 | 13 PASS imgdata1.data.length is 800 |
14 PASS imgdata1.data.length is imgdata2.data.length | 14 PASS imgdata1.data.length is imgdata2.data.length |
15 PASS imgdata2.data.length is imgdata3.data.length | 15 PASS imgdata2.data.length is imgdata3.data.length |
16 PASS imgdata3.data.length is imgdata4.data.length | 16 PASS imgdata3.data.length is imgdata4.data.length |
17 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
18 | 18 |
19 TEST COMPLETE | 19 TEST COMPLETE |
20 | 20 |
OLD | NEW |