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

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

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-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt
index 731d899a4d5a0c3ea577678506fe5ca3f8fb55da..cf166a6632b5ec10e656254652b8983632fbf8d9 100644
--- a/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt
@@ -48,21 +48,21 @@ PASS lineDash[0] is 5
PASS lineDash[1] is 15
PASS lineDash[2] is 25
* Test passing a Date as input.
-PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: First argument is neither an array, nor does it have indexed properties..
* Test passing a RegExp as input.
-PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: First argument is neither an array, nor does it have indexed properties..
* Test passing an Object without length as input.
-PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: First argument is neither an array, nor does it have indexed properties..
* Test passing a Number as input.
-PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: First argument is neither an array, nor does it have indexed properties..
* Test passing a String as input.
-PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: First argument is neither an array, nor does it have indexed properties..
* Test passing a Boolean as input.
-PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: First argument is neither an array, nor does it have indexed properties..
* Test passing null as input.
-PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: First argument is neither an array, nor does it have indexed properties..
* Test passing undefined as input.
-PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: First argument is neither an array, nor does it have indexed properties..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698