blob: 58907b0f1610fbcb82b069edee23e4d19bc3891a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Test the argument bounds of canvas createImageData.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ctx.createImageData(Infinity, Infinity) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source width is infinite..
PASS ctx.createImageData(Infinity, 10) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source width is infinite..
PASS ctx.createImageData(-Infinity, 10) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source width is infinite..
PASS ctx.createImageData(10, Infinity) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source height is infinite..
PASS ctx.createImageData(10, -Infinity) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source height is infinite..
PASS ctx.createImageData(NaN, 10) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source width is not a number..
PASS ctx.createImageData(10, NaN) threw exception NotSupportedError: Failed to execute 'createImageData' on 'CanvasRenderingContext2D': The source height is not a number..
PASS successfullyParsed is true
TEST COMPLETE
|