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

Unified Diff: LayoutTests/fast/canvas/canvas-isPointInStroke-with-path-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-isPointInStroke-with-path-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-isPointInStroke-with-path-expected.txt b/LayoutTests/fast/canvas/canvas-isPointInStroke-with-path-expected.txt
index 089df2ac9526dfcebcf4b8ce0e5d45db0f82e352..2e39f49f1f7775960b96785b964d4013abebea4b 100644
--- a/LayoutTests/fast/canvas/canvas-isPointInStroke-with-path-expected.txt
+++ b/LayoutTests/fast/canvas/canvas-isPointInStroke-with-path-expected.txt
@@ -24,7 +24,7 @@ PASS ctx.isPointInStroke(path,NaN,122) is false
PASS ctx.isPointInStroke(path,18,NaN) is false
Check null and invalid type
-PASS ctx.isPointInStroke(null,70,20) threw exception TypeMismatchError: Failed to execute 'isPointInStroke' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path object..
+PASS ctx.isPointInStroke(null,70,20) threw exception TypeError: Failed to execute 'isPointInStroke' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path object..
PASS ctx.isPointInStroke([],20,70) threw exception TypeError: Failed to execute 'isPointInStroke' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
PASS ctx.isPointInStroke({},120,70) threw exception TypeError: Failed to execute 'isPointInStroke' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..

Powered by Google App Engine
This is Rietveld 408576698