OLD | NEW |
1 This test checks createLinearGradient with infinite values | 1 This test checks createLinearGradient with infinite values |
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.createLinearGradient(0, 0, 100, NaN) threw exception TypeError: Failed
to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter
4 is non-finite.. | 6 PASS ctx.createLinearGradient(0, 0, 100, NaN) threw exception TypeError: Failed
to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided fl
oat value is non-finite.. |
7 PASS ctx.createLinearGradient(0, 0, 100, Infinity) threw exception TypeError: Fa
iled to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float para
meter 4 is non-finite.. | 7 PASS ctx.createLinearGradient(0, 0, 100, Infinity) threw exception TypeError: Fa
iled to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provid
ed float value is non-finite.. |
8 PASS ctx.createLinearGradient(0, 0, 100, -Infinity) threw exception TypeError: F
ailed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float par
ameter 4 is non-finite.. | 8 PASS ctx.createLinearGradient(0, 0, 100, -Infinity) threw exception TypeError: F
ailed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provi
ded float value is non-finite.. |
9 PASS ctx.createLinearGradient(0, 0, NaN, 100) threw exception TypeError: Failed
to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter
3 is non-finite.. | 9 PASS ctx.createLinearGradient(0, 0, NaN, 100) threw exception TypeError: Failed
to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided fl
oat value is non-finite.. |
10 PASS ctx.createLinearGradient(0, 0, Infinity, 100) threw exception TypeError: Fa
iled to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float para
meter 3 is non-finite.. | 10 PASS ctx.createLinearGradient(0, 0, Infinity, 100) threw exception TypeError: Fa
iled to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provid
ed float value is non-finite.. |
11 PASS ctx.createLinearGradient(0, 0, -Infinity, 100) threw exception TypeError: F
ailed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float par
ameter 3 is non-finite.. | 11 PASS ctx.createLinearGradient(0, 0, -Infinity, 100) threw exception TypeError: F
ailed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provi
ded float value is non-finite.. |
12 PASS ctx.createLinearGradient(0, NaN, 100, 100) threw exception TypeError: Faile
d to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float paramet
er 2 is non-finite.. | 12 PASS ctx.createLinearGradient(0, NaN, 100, 100) threw exception TypeError: Faile
d to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided
float value is non-finite.. |
13 PASS ctx.createLinearGradient(0, Infinity, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float pa
rameter 2 is non-finite.. | 13 PASS ctx.createLinearGradient(0, Infinity, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The prov
ided float value is non-finite.. |
14 PASS ctx.createLinearGradient(0, -Infinity, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float p
arameter 2 is non-finite.. | 14 PASS ctx.createLinearGradient(0, -Infinity, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The pro
vided float value is non-finite.. |
15 PASS ctx.createLinearGradient(NaN, 0, 100, 100) threw exception TypeError: Faile
d to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float paramet
er 1 is non-finite.. | 15 PASS ctx.createLinearGradient(NaN, 0, 100, 100) threw exception TypeError: Faile
d to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided
float value is non-finite.. |
16 PASS ctx.createLinearGradient(Infinity, 0, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float pa
rameter 1 is non-finite.. | 16 PASS ctx.createLinearGradient(Infinity, 0, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The prov
ided float value is non-finite.. |
17 PASS ctx.createLinearGradient(-Infinity, 0, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float p
arameter 1 is non-finite.. | 17 PASS ctx.createLinearGradient(-Infinity, 0, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The pro
vided float value is non-finite.. |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |