1 Tests CanvasPathMethods ellipse with negative radii.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS ctx.ellipse(10, 10, 10, 5, 0, 0, 1, false) did not throw exception.
7 PASS ctx.ellipse(10, 10, 10, 0, 0, 0, 1, false) did not throw exception.
8 PASS ctx.ellipse(10, 10, -0, 5, 0, 0, 1, false) did not throw exception.
9 PASS ctx.ellipse(10, 10, -2, 5, 0, 0, 1, false) threw exception IndexSizeError: Failed to execute 'ellipse' on 'CanvasRenderingContext2D': The major-axis radius provided (-2) is negative..
10 PASS ctx.ellipse(10, 10, 0, -1.5, 0, 0, 1, false) threw exception IndexSizeError: Failed to execute 'ellipse' on 'CanvasRenderingContext2D': The minor-axis radius provided (-1.5) is negative..
11 PASS ctx.ellipse(10, 10, -2, -5, 0, 0, 1, false) threw exception IndexSizeError: Failed to execute 'ellipse' on 'CanvasRenderingContext2D': The major-axis radius provided (-2) is negative..
12 PASS successfullyParsed is true