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