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