Index: LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt |
diff --git a/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt b/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt |
index 611e068893bc52c737e2f4cfa7d9747eec359c03..42e770debee22357fc979ff0f4ebdab3880ba412 100644 |
--- a/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt |
+++ b/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt |
@@ -5,6 +5,8 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE |
Testing default isPointInPath |
PASS ctx.isPointInPath(50, 50) is true |
+PASS ctx.isPointInPath(NaN, 50) is false |
+PASS ctx.isPointInPath(50, NaN) is false |
Testing nonzero isPointInPath |
PASS ctx.isPointInPath(50, 50, 'nonzero') is true |
@@ -12,6 +14,33 @@ PASS ctx.isPointInPath(50, 50, 'nonzero') is true |
Testing evenodd isPointInPath |
PASS ctx.isPointInPath(50, 50, 'evenodd') is false |
+Testing default isPointInPath with Path object |
+PASS ctx.isPointInPath(path, 50, 50) is true |
+PASS ctx.isPointInPath(path, NaN, 50) is false |
+PASS ctx.isPointInPath(path, 50, NaN) is false |
+ |
+Testing nonzero isPointInPath with Path object |
+PASS ctx.isPointInPath(path, 50, 50, 'nonzero') is true |
+ |
+Testing evenodd isPointInPath with Path object |
+PASS ctx.isPointInPath(path, 50, 50, 'evenodd') is false |
+ |
+Testing null isPointInPath with Path object |
+PASS ctx.isPointInPath(null, 50, 50) threw exception TypeMismatchError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path object.. |
+PASS ctx.isPointInPath(null, 50, 50, 'nonzero') threw exception TypeMismatchError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path object.. |
+PASS ctx.isPointInPath(null, 50, 50, 'evenodd') threw exception TypeMismatchError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path object.. |
+PASS ctx.isPointInPath(path, 50, 50) threw exception TypeMismatchError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path object.. |
+PASS ctx.isPointInPath(path, 50, 50, 'nonzero') threw exception TypeMismatchError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path object.. |
+PASS ctx.isPointInPath(path, 50, 50, 'evenodd') threw exception TypeMismatchError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path object.. |
+ |
+Testing invalid type isPointInPath with Path object |
+PASS ctx.isPointInPath([], 50, 50) threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('50') is not a valid enum value.. |
+PASS ctx.isPointInPath([], 50, 50, 'nonzero') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
+PASS ctx.isPointInPath([], 50, 50, 'evenodd') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
+PASS ctx.isPointInPath({}, 50, 50) threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('50') is not a valid enum value.. |
+PASS ctx.isPointInPath({}, 50, 50, 'nonzero') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
+PASS ctx.isPointInPath({}, 50, 50, 'evenodd') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
+ |
PASS successfullyParsed is true |
TEST COMPLETE |