OLD | NEW |
| (Empty) |
1 Test the handling of invalid arguments in canvas getImageData(). | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS ctx.getImageData(NaN, 10, 10, 10) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is n
on-finite.. | |
7 PASS ctx.getImageData(10, NaN, 10, 10) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is n
on-finite.. | |
8 PASS ctx.getImageData(10, 10, NaN, 10) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is n
on-finite.. | |
9 PASS ctx.getImageData(10, 10, 10, NaN) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': The provided double value is n
on-finite.. | |
10 PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value
is non-finite.. | |
11 PASS ctx.getImageData(10, Infinity, 10, 10) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value
is non-finite.. | |
12 PASS ctx.getImageData(10, 10, Infinity, 10) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value
is non-finite.. | |
13 PASS ctx.getImageData(10, 10, 10, Infinity) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': The provided double value
is non-finite.. | |
14 PASS ctx.getImageData(undefined, 10, 10, 10) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': The provided double valu
e is non-finite.. | |
15 PASS ctx.getImageData(10, undefined, 10, 10) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': The provided double valu
e is non-finite.. | |
16 PASS ctx.getImageData(10, 10, undefined, 10) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': The provided double valu
e is non-finite.. | |
17 PASS ctx.getImageData(10, 10, 10, undefined) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': The provided double valu
e is non-finite.. | |
18 PASS ctx.getImageData(10, 10, 0, 10) threw exception IndexSizeError: Failed to e
xecute 'getImageData' on 'CanvasRenderingContext2D': The source width is 0.. | |
19 PASS ctx.getImageData(10, 10, 10, 0) threw exception IndexSizeError: Failed to e
xecute 'getImageData' on 'CanvasRenderingContext2D': The source height is 0.. | |
20 PASS successfullyParsed is true | |
21 | |
22 TEST COMPLETE | |
23 | |
OLD | NEW |