Chromium Code Reviews| 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 b77249fc406d74332c30b1a70f726037d667066e..72159a5932a9af637dcc588cdb67ddf7001c2fde 100644 |
| --- a/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt |
| +++ b/LayoutTests/fast/canvas/canvas-isPointInPath-winding-expected.txt |
| @@ -26,12 +26,12 @@ 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 TypeError: 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 TypeError: 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 TypeError: 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 TypeError: 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 TypeError: 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 TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path object.. |
| +PASS ctx.isPointInPath(null, 50, 50) threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('50') is not a valid enum value.. |
|
Justin Novosad
2014/04/11 17:52:36
This is the wrong error message.
fs
2014/04/11 18:31:19
Well, it's not a great error message for sure... I
Nils Barth (inactive)
2014/04/14 02:32:18
As Fredrik notes, this is actually the correct err
|
| +PASS ctx.isPointInPath(null, 50, 50, 'nonzero') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
|
Justin Novosad
2014/04/11 17:52:36
This error message is less informative than what w
fs
2014/04/11 18:31:19
Same issue as above, although here there's no addi
Nils Barth (inactive)
2014/04/14 02:32:18
As Fredrik says: the new message is correct, the o
|
| +PASS ctx.isPointInPath(null, 50, 50, 'evenodd') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
| +PASS ctx.isPointInPath(path, 50, 50) threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': parameter 3 ('50') is not a valid enum value.. |
| +PASS ctx.isPointInPath(path, 50, 50, 'nonzero') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
| +PASS ctx.isPointInPath(path, 50, 50, 'evenodd') threw exception TypeError: Failed to execute 'isPointInPath' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.. |
| 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.. |