OLD | NEW |
1 This test checks invalid offsets on gradients. | 1 This test checks invalid offsets on gradients. |
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 gradient.addColorStop(-1, '#000') threw exception IndexSizeError: Failed to
execute 'addColorStop' on 'CanvasGradient': The provided value (-1) is outside
the range (0.0, 1.0).. | 6 PASS gradient.addColorStop(-1, '#000') threw exception IndexSizeError: Failed to
execute 'addColorStop' on 'CanvasGradient': The provided value (-1) is outside
the range (0.0, 1.0).. |
7 PASS gradient.addColorStop(2, '#000') threw exception IndexSizeError: Failed to
execute 'addColorStop' on 'CanvasGradient': The provided value (2) is outside th
e range (0.0, 1.0).. | 7 PASS gradient.addColorStop(2, '#000') threw exception IndexSizeError: Failed to
execute 'addColorStop' on 'CanvasGradient': The provided value (2) is outside th
e range (0.0, 1.0).. |
8 PASS gradient.addColorStop(Infinity, '#000') threw exception TypeError: Failed t
o execute 'addColorStop' on 'CanvasGradient': float parameter 1 is non-finite.. | 8 PASS gradient.addColorStop(Infinity, '#000') threw exception TypeError: Failed t
o execute 'addColorStop' on 'CanvasGradient': The provided float value is non-fi
nite.. |
9 PASS gradient.addColorStop(-Infinity, '#000') threw exception TypeError: Failed
to execute 'addColorStop' on 'CanvasGradient': float parameter 1 is non-finite.. | 9 PASS gradient.addColorStop(-Infinity, '#000') threw exception TypeError: Failed
to execute 'addColorStop' on 'CanvasGradient': The provided float value is non-f
inite.. |
10 PASS gradient.addColorStop(NaN, '#000') threw exception TypeError: Failed to exe
cute 'addColorStop' on 'CanvasGradient': float parameter 1 is non-finite.. | 10 PASS gradient.addColorStop(NaN, '#000') threw exception TypeError: Failed to exe
cute 'addColorStop' on 'CanvasGradient': The provided float value is non-finite.
. |
11 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
12 | 12 |
13 TEST COMPLETE | 13 TEST COMPLETE |
14 | 14 |
OLD | NEW |