OLD | NEW |
1 Test the handling of invalid arguments in canvas getImageData(). | 1 Test the handling of invalid arguments in canvas getImageData(). |
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.getImageData(NaN, 10, 10, 10) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-finit
e.. | 6 PASS ctx.getImageData(NaN, 10, 10, 10) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': The provided float value is no
n-finite.. |
7 PASS ctx.getImageData(10, NaN, 10, 10) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-finit
e.. | 7 PASS ctx.getImageData(10, NaN, 10, 10) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': The provided float value is no
n-finite.. |
8 PASS ctx.getImageData(10, 10, NaN, 10) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': float parameter 3 is non-finit
e.. | 8 PASS ctx.getImageData(10, 10, NaN, 10) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': The provided float value is no
n-finite.. |
9 PASS ctx.getImageData(10, 10, 10, NaN) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': float parameter 4 is non-finit
e.. | 9 PASS ctx.getImageData(10, 10, 10, NaN) threw exception TypeError: Failed to exec
ute 'getImageData' on 'CanvasRenderingContext2D': The provided float value is no
n-finite.. |
10 PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 1 is non-
finite.. | 10 PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': The provided float value
is non-finite.. |
11 PASS ctx.getImageData(10, Infinity, 10, 10) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 2 is non-
finite.. | 11 PASS ctx.getImageData(10, Infinity, 10, 10) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': The provided float value
is non-finite.. |
12 PASS ctx.getImageData(10, 10, Infinity, 10) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 3 is non-
finite.. | 12 PASS ctx.getImageData(10, 10, Infinity, 10) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': The provided float value
is non-finite.. |
13 PASS ctx.getImageData(10, 10, 10, Infinity) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 4 is non-
finite.. | 13 PASS ctx.getImageData(10, 10, 10, Infinity) threw exception TypeError: Failed to
execute 'getImageData' on 'CanvasRenderingContext2D': The provided float value
is non-finite.. |
14 PASS ctx.getImageData(undefined, 10, 10, 10) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 1 is non
-finite.. | 14 PASS ctx.getImageData(undefined, 10, 10, 10) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': The provided float value
is non-finite.. |
15 PASS ctx.getImageData(10, undefined, 10, 10) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 2 is non
-finite.. | 15 PASS ctx.getImageData(10, undefined, 10, 10) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': The provided float value
is non-finite.. |
16 PASS ctx.getImageData(10, 10, undefined, 10) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 3 is non
-finite.. | 16 PASS ctx.getImageData(10, 10, undefined, 10) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': The provided float value
is non-finite.. |
17 PASS ctx.getImageData(10, 10, 10, undefined) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': float parameter 4 is non
-finite.. | 17 PASS ctx.getImageData(10, 10, 10, undefined) threw exception TypeError: Failed t
o execute 'getImageData' on 'CanvasRenderingContext2D': The provided float value
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.. | 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.. | 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 | 20 PASS successfullyParsed is true |
21 | 21 |
22 TEST COMPLETE | 22 TEST COMPLETE |
23 | 23 |
OLD | NEW |