Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(214)

Unified Diff: LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html

Issue 38063003: Improve TypeError messages from failed array conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improve TypeError messages from failed array conversions. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « LayoutTests/crypto/generateKey-expected.txt ('k') | LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698