Index: LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js |
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js b/LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js |
index e074d6e1c2efa303e0bf9b44e2dca8f86c3a8941..e57acae799d4ae1a4058b46c3c0dbc022c446b8b 100644 |
--- a/LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js |
+++ b/LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js |
@@ -28,6 +28,6 @@ shouldBe("ctx.drawImage(canvasElement, 0, 0, 0, 0)", "undefined"); |
shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0)", "TypeError"); |
shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0)", "TypeError"); |
shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0)", "TypeError"); |
-shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0)", "'Error: IndexSizeError: DOM Exception 1'"); |
+shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0)", "'IndexSizeError: Index or size was negative, or greater than the allowed value.'"); |
shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0)", "TypeError"); |
shouldThrow("ctx.drawImage(canvasElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)", "TypeError"); |