| Index: third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js b/third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js
|
| deleted file mode 100644
|
| index 07dae37f8c16e70ec94ce729368449e1f02e8690..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js
|
| +++ /dev/null
|
| @@ -1,10 +0,0 @@
|
| -description(
|
| -'This test checks invalid colors on gradients.'
|
| -);
|
| -
|
| -var gradient = document.createElement('canvas').getContext('2d').createLinearGradient(0, 0, 150, 0);
|
| -
|
| -shouldThrow("gradient.addColorStop(0, '')", '"SyntaxError: Failed to execute \'addColorStop\' on \'CanvasGradient\': The value provided (\'\') could not be parsed as a color."');
|
| -shouldThrow("gradient.addColorStop(0, '#cc')", '"SyntaxError: Failed to execute \'addColorStop\' on \'CanvasGradient\': The value provided (\'#cc\') could not be parsed as a color."');
|
| -shouldThrow("gradient.addColorStop(0, 'rgb(257, 0)')", '"SyntaxError: Failed to execute \'addColorStop\' on \'CanvasGradient\': The value provided (\'rgb(257, 0)\') could not be parsed as a color."');
|
| -shouldThrow("gradient.addColorStop(0, 'rgb(257, 0, 5, 0)')", '"SyntaxError: Failed to execute \'addColorStop\' on \'CanvasGradient\': The value provided (\'rgb(257, 0, 5, 0)\') could not be parsed as a color."');
|
|
|