| OLD | NEW |
| (Empty) |
| 1 Tests CanvasPathMethods ellipse with negative radii. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 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 radi
us 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 radiu
s provided (-2) is negative.. | |
| 12 PASS successfullyParsed is true | |
| 13 | |
| 14 TEST COMPLETE | |
| 15 | |
| OLD | NEW |