| Index: LayoutTests/fast/canvas/script-tests/linearGradient-infinite-values.js
|
| diff --git a/LayoutTests/fast/canvas/script-tests/linearGradient-infinite-values.js b/LayoutTests/fast/canvas/script-tests/linearGradient-infinite-values.js
|
| index 4d257fece82b6948cea1672ff7d3fa63198e4705..a498cdae23a1009a3b5858dc6700eed2587b02e1 100644
|
| --- a/LayoutTests/fast/canvas/script-tests/linearGradient-infinite-values.js
|
| +++ b/LayoutTests/fast/canvas/script-tests/linearGradient-infinite-values.js
|
| @@ -4,15 +4,15 @@ description(
|
|
|
| var ctx = document.createElement('canvas').getContext('2d');
|
|
|
| -shouldThrow("ctx.createLinearGradient(0, 0, 100, NaN)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(0, 0, 100, Infinity)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(0, 0, 100, -Infinity)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(0, 0, NaN, 100)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(0, 0, Infinity, 100)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(0, 0, -Infinity, 100)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(0, NaN, 100, 100)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(0, Infinity, 100, 100)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(0, -Infinity, 100, 100)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(NaN, 0, 100, 100)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(Infinity, 0, 100, 100)", "'Error: NotSupportedError: DOM Exception 9'");
|
| -shouldThrow("ctx.createLinearGradient(-Infinity, 0, 100, 100)", "'Error: NotSupportedError: DOM Exception 9'");
|
| +shouldThrow("ctx.createLinearGradient(0, 0, 100, NaN)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(0, 0, 100, Infinity)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(0, 0, 100, -Infinity)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(0, 0, NaN, 100)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(0, 0, Infinity, 100)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(0, 0, -Infinity, 100)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(0, NaN, 100, 100)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(0, Infinity, 100, 100)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(0, -Infinity, 100, 100)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(NaN, 0, 100, 100)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(Infinity, 0, 100, 100)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
| +shouldThrow("ctx.createLinearGradient(-Infinity, 0, 100, 100)", "'NotSupportedError: The implementation did not support the requested type of object or operation.'");
|
|
|