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 eda53b5bd8ddac564a727878949921a78c6cbd31..dec4240308980b1cc543f08d4d3dd425653320ae 100644 |
--- a/LayoutTests/fast/canvas/canvas-isPointInStroke-with-path-expected.txt |
+++ b/LayoutTests/fast/canvas/canvas-isPointInStroke-with-path-expected.txt |
@@ -23,8 +23,9 @@ PASS ctx.isPointInStroke(path,18,70) is false |
PASS ctx.isPointInStroke(path,NaN,122) is false |
PASS ctx.isPointInStroke(path,18,NaN) is false |
-Check null and invalid type |
+Check invalid type |
PASS ctx.isPointInStroke(null,70,20) threw exception TypeError: Failed to execute 'isPointInStroke' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. |
+PASS ctx.isPointInStroke(undefined,70,20) threw exception TypeError: Failed to execute 'isPointInStroke' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. |
PASS ctx.isPointInStroke([],20,70) threw exception TypeError: Failed to execute 'isPointInStroke' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. |
PASS ctx.isPointInStroke({},120,70) threw exception TypeError: Failed to execute 'isPointInStroke' on 'CanvasRenderingContext2D': parameter 1 is not of type 'Path2D'.. |