| Index: LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-offset-expected.txt
|
| diff --git a/LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-offset-expected.txt b/LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-offset-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2c42c18878296b88034ed3f185e8007024a173d1
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/canvas/gradient-addColorStop-with-invalid-offset-expected.txt
|
| @@ -0,0 +1,14 @@
|
| +This test checks invalid offsets on gradients.
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +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)..
|
| +PASS gradient.addColorStop(2, '#000') threw exception IndexSizeError: Failed to execute 'addColorStop' on 'CanvasGradient': The provided value (2) is outside the range (0.0, 1.0)..
|
| +PASS gradient.addColorStop(Infinity, '#000') threw exception TypeError: Failed to execute 'addColorStop' on 'CanvasGradient': float parameter 1 is non-finite..
|
| +PASS gradient.addColorStop(-Infinity, '#000') threw exception TypeError: Failed to execute 'addColorStop' on 'CanvasGradient': float parameter 1 is non-finite..
|
| +PASS gradient.addColorStop(NaN, '#000') threw exception TypeError: Failed to execute 'addColorStop' on 'CanvasGradient': float parameter 1 is non-finite..
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|