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 Error: NotSupportedError:
DOM Exception 9. | 6 PASS ctx.getImageData(NaN, 10, 10, 10) threw exception NotSupportedError: The im
plementation did not support the requested type of object or operation.. |
7 PASS ctx.getImageData(10, NaN, 10, 10) threw exception Error: NotSupportedError:
DOM Exception 9. | 7 PASS ctx.getImageData(10, NaN, 10, 10) threw exception NotSupportedError: The im
plementation did not support the requested type of object or operation.. |
8 PASS ctx.getImageData(10, 10, NaN, 10) threw exception Error: NotSupportedError:
DOM Exception 9. | 8 PASS ctx.getImageData(10, 10, NaN, 10) threw exception NotSupportedError: The im
plementation did not support the requested type of object or operation.. |
9 PASS ctx.getImageData(10, 10, 10, NaN) threw exception Error: NotSupportedError:
DOM Exception 9. | 9 PASS ctx.getImageData(10, 10, 10, NaN) threw exception NotSupportedError: The im
plementation did not support the requested type of object or operation.. |
10 PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception Error: NotSupportedE
rror: DOM Exception 9. | 10 PASS ctx.getImageData(Infinity, 10, 10, 10) threw exception NotSupportedError: T
he implementation did not support the requested type of object or operation.. |
11 PASS ctx.getImageData(10, Infinity, 10, 10) threw exception Error: NotSupportedE
rror: DOM Exception 9. | 11 PASS ctx.getImageData(10, Infinity, 10, 10) threw exception NotSupportedError: T
he implementation did not support the requested type of object or operation.. |
12 PASS ctx.getImageData(10, 10, Infinity, 10) threw exception Error: NotSupportedE
rror: DOM Exception 9. | 12 PASS ctx.getImageData(10, 10, Infinity, 10) threw exception NotSupportedError: T
he implementation did not support the requested type of object or operation.. |
13 PASS ctx.getImageData(10, 10, 10, Infinity) threw exception Error: NotSupportedE
rror: DOM Exception 9. | 13 PASS ctx.getImageData(10, 10, 10, Infinity) threw exception NotSupportedError: T
he implementation did not support the requested type of object or operation.. |
14 PASS ctx.getImageData(undefined, 10, 10, 10) threw exception Error: NotSupported
Error: DOM Exception 9. | 14 PASS ctx.getImageData(undefined, 10, 10, 10) threw exception NotSupportedError:
The implementation did not support the requested type of object or operation.. |
15 PASS ctx.getImageData(10, undefined, 10, 10) threw exception Error: NotSupported
Error: DOM Exception 9. | 15 PASS ctx.getImageData(10, undefined, 10, 10) threw exception NotSupportedError:
The implementation did not support the requested type of object or operation.. |
16 PASS ctx.getImageData(10, 10, undefined, 10) threw exception Error: NotSupported
Error: DOM Exception 9. | 16 PASS ctx.getImageData(10, 10, undefined, 10) threw exception NotSupportedError:
The implementation did not support the requested type of object or operation.. |
17 PASS ctx.getImageData(10, 10, 10, undefined) threw exception Error: NotSupported
Error: DOM Exception 9. | 17 PASS ctx.getImageData(10, 10, 10, undefined) threw exception NotSupportedError:
The implementation did not support the requested type of object or operation.. |
18 PASS ctx.getImageData(10, 10, 0, 10) threw exception Error: IndexSizeError: DOM
Exception 1. | 18 PASS ctx.getImageData(10, 10, 0, 10) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. |
19 PASS ctx.getImageData(10, 10, 10, 0) threw exception Error: IndexSizeError: DOM
Exception 1. | 19 PASS ctx.getImageData(10, 10, 10, 0) threw exception IndexSizeError: Index or si
ze was negative, or greater than the allowed value.. |
20 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
21 | 21 |
22 TEST COMPLETE | 22 TEST COMPLETE |
23 | 23 |
OLD | NEW |