blob: 1294afb1892380b4918f5c570786840cd05b0e18 [file] [log] [blame]
This test checks createRadialGradient with infinite values
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ctx.createRadialGradient(0, 0, 100, 0, 0, NaN) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, 100, 0, 0, Infinity) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, 100, 0, 0, -Infinity) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, 100, 0, NaN, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, 100, 0, Infinity, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, 100, 0, -Infinity, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, 100, NaN, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, 100, Infinity, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, 100, -Infinity, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, NaN, 0, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, Infinity, 0, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, 0, -Infinity, 0, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, NaN, 100, 0, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, Infinity, 100, 0, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(0, -Infinity, 100, 0, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(NaN, 0, 100, 0, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(Infinity, 0, 100, 0, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS ctx.createRadialGradient(-Infinity, 0, 100, 0, 0, 100) threw exception TypeError: Failed to execute 'createRadialGradient' on 'CanvasRenderingContext2D': The provided double value is non-finite..
PASS successfullyParsed is true
TEST COMPLETE