Index: LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html |
diff --git a/LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html |
index 9960dd2b4e2e977164eec342f03f2d6ca6b3bb2b..bb1146cd1ee043091ebb6e06bfb86ea9f1f532bf 100644 |
--- a/LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html |
+++ b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html |
@@ -38,7 +38,7 @@ function checkLineDash(testArray, shouldFail) { |
ctx.setLineDash([]); |
// Set line dash. |
if (shouldFail) { |
- shouldThrow("ctx.setLineDash(inputArray)", "'TypeError: Type error'"); |
+ shouldThrow("ctx.setLineDash(inputArray)", "'TypeError: First argument is neither an array, nor does it have indexed properties.'"); |
} else { |
ctx.setLineDash(inputArray); |
lineDash = ctx.getLineDash(); |