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

Unified Diff: LayoutTests/fast/canvas/canvas-path-addpath-expected.txt

Issue 234903003: Should throw TypeError instead of TypeMismatchError (canvas) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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-path-addpath-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-path-addpath-expected.txt b/LayoutTests/fast/canvas/canvas-path-addpath-expected.txt
index 4bad516591134ada576412aa72982506bbe97f63..00acbb9261fc4ec816c83ff23f901b4a346a8581 100644
--- a/LayoutTests/fast/canvas/canvas-path-addpath-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-path-addpath-expected.txt
@@ -28,9 +28,9 @@ PASS imgdata[6] is 0
PASS imgdata[7] is 255
Test addPath() with path as null and invalid type
-PASS p7.addPath(null, m) threw exception TypeMismatchError: Failed to execute 'addPath' on 'Path2D': The 1st argument provided is either null, or an invalid Path object..
-PASS p7.addPath([], m) threw exception TypeMismatchError: Failed to execute 'addPath' on 'Path2D': The 1st argument provided is either null, or an invalid Path object..
-PASS p7.addPath({}, m) threw exception TypeMismatchError: Failed to execute 'addPath' on 'Path2D': The 1st argument provided is either null, or an invalid Path object..
+PASS p7.addPath(null, m) threw exception TypeError: Failed to execute 'addPath' on 'Path2D': The 1st argument provided is either null, or an invalid Path object..
+PASS p7.addPath([], m) threw exception TypeError: Failed to execute 'addPath' on 'Path2D': The 1st argument provided is either null, or an invalid Path object..
+PASS p7.addPath({}, m) threw exception TypeError: Failed to execute 'addPath' on 'Path2D': The 1st argument provided is either null, or an invalid Path object..
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698