| Index: LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js
|
| diff --git a/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js b/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js
|
| index 32af68c5ba183a6a9b3b10cd1ef619934e70029b..a338a098039ee8f102aee9d04b0cdfb7cc7a6111 100644
|
| --- a/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js
|
| +++ b/LayoutTests/fast/canvas/script-tests/gradient-addColorStop-with-invalid-color.js
|
| @@ -4,7 +4,7 @@ description(
|
|
|
| var gradient = document.createElement('canvas').getContext('2d').createLinearGradient(0, 0, 150, 0);
|
|
|
| -shouldThrow("gradient.addColorStop(0, '')", "'Error: SyntaxError: DOM Exception 12'");
|
| -shouldThrow("gradient.addColorStop(0, '#cc')", "'Error: SyntaxError: DOM Exception 12'");
|
| -shouldThrow("gradient.addColorStop(0, 'rgb(257, 0)')", "'Error: SyntaxError: DOM Exception 12'");
|
| -shouldThrow("gradient.addColorStop(0, 'rgb(257, 0, 5, 0)')", "'Error: SyntaxError: DOM Exception 12'");
|
| +shouldThrow("gradient.addColorStop(0, '')", "'SyntaxError: An invalid or illegal string was specified.'");
|
| +shouldThrow("gradient.addColorStop(0, '#cc')", "'SyntaxError: An invalid or illegal string was specified.'");
|
| +shouldThrow("gradient.addColorStop(0, 'rgb(257, 0)')", "'SyntaxError: An invalid or illegal string was specified.'");
|
| +shouldThrow("gradient.addColorStop(0, 'rgb(257, 0, 5, 0)')", "'SyntaxError: An invalid or illegal string was specified.'");
|
|
|