OLD | NEW |
| (Empty) |
1 This test checks createLinearGradient with infinite values | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS ctx.createLinearGradient(0, 0, 100, NaN) threw exception TypeError: Failed
to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided do
uble value is non-finite.. | |
7 PASS ctx.createLinearGradient(0, 0, 100, Infinity) threw exception TypeError: Fa
iled to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provid
ed double value is non-finite.. | |
8 PASS ctx.createLinearGradient(0, 0, 100, -Infinity) threw exception TypeError: F
ailed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provi
ded double value is non-finite.. | |
9 PASS ctx.createLinearGradient(0, 0, NaN, 100) threw exception TypeError: Failed
to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided do
uble value is non-finite.. | |
10 PASS ctx.createLinearGradient(0, 0, Infinity, 100) threw exception TypeError: Fa
iled to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provid
ed double value is non-finite.. | |
11 PASS ctx.createLinearGradient(0, 0, -Infinity, 100) threw exception TypeError: F
ailed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provi
ded double value is non-finite.. | |
12 PASS ctx.createLinearGradient(0, NaN, 100, 100) threw exception TypeError: Faile
d to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided
double value is non-finite.. | |
13 PASS ctx.createLinearGradient(0, Infinity, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The prov
ided double value is non-finite.. | |
14 PASS ctx.createLinearGradient(0, -Infinity, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The pro
vided double value is non-finite.. | |
15 PASS ctx.createLinearGradient(NaN, 0, 100, 100) threw exception TypeError: Faile
d to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The provided
double value is non-finite.. | |
16 PASS ctx.createLinearGradient(Infinity, 0, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The prov
ided double value is non-finite.. | |
17 PASS ctx.createLinearGradient(-Infinity, 0, 100, 100) threw exception TypeError:
Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': The pro
vided double value is non-finite.. | |
18 PASS successfullyParsed is true | |
19 | |
20 TEST COMPLETE | |
21 | |
OLD | NEW |