OLD | NEW |
1 Tests CanvasPathMethods arc and arcTo with negative radii. | 1 Tests CanvasPathMethods arc and arcTo with negative radii. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS ctx.arc(10, 10, 5, 0, 1, false) did not throw exception. | 6 PASS ctx.arc(10, 10, 5, 0, 1, false) did not throw exception. |
7 PASS ctx.arc(10, 10, 0, 0, 1, false) did not throw exception. | 7 PASS ctx.arc(10, 10, 0, 0, 1, false) did not throw exception. |
8 PASS ctx.arc(10, 10, -5, 0, 1, false) threw exception IndexSizeError: Failed to
execute 'arc' on 'CanvasRenderingContext2D': The radius provided (-5) is negativ
e.. | 8 PASS ctx.arc(10, 10, -5, 0, 1, false) threw exception IndexSizeError: Failed to
execute 'arc' on 'CanvasRenderingContext2D': The radius provided (-5) is negativ
e.. |
9 PASS ctx.arcTo(10, 10, 20, 20, 5) did not throw exception. | 9 PASS ctx.arcTo(10, 10, 20, 20, 5) did not throw exception. |
10 PASS ctx.arcTo(10, 10, 20, 20, 0) did not throw exception. | 10 PASS ctx.arcTo(10, 10, 20, 20, 0) did not throw exception. |
11 PASS ctx.arcTo(10, 10, 20, 20, -5) threw exception IndexSizeError: Failed to exe
cute 'arcTo' on 'CanvasRenderingContext2D': The radius provided (-5) is negative
.. | 11 PASS ctx.arcTo(10, 10, 20, 20, -5) threw exception IndexSizeError: Failed to exe
cute 'arcTo' on 'CanvasRenderingContext2D': The radius provided (-5) is negative
.. |
12 PASS path.arc(10, 10, 5, 0, 1, false) did not throw exception. | 12 PASS path.arc(10, 10, 5, 0, 1, false) did not throw exception. |
13 PASS path.arc(10, 10, 0, 0, 1, false) did not throw exception. | 13 PASS path.arc(10, 10, 0, 0, 1, false) did not throw exception. |
14 PASS path.arc(10, 10, -5, 0, 1, false) threw exception IndexSizeError: Failed to
execute 'arc' on 'Path': The radius provided (-5) is negative.. | 14 PASS path.arc(10, 10, -5, 0, 1, false) threw exception IndexSizeError: Failed to
execute 'arc' on 'Path2D': The radius provided (-5) is negative.. |
15 PASS path.arcTo(10, 10, 20, 20, 5) did not throw exception. | 15 PASS path.arcTo(10, 10, 20, 20, 5) did not throw exception. |
16 PASS path.arcTo(10, 10, 20, 20, 0) did not throw exception. | 16 PASS path.arcTo(10, 10, 20, 20, 0) did not throw exception. |
17 PASS path.arcTo(10, 10, 20, 20, -5) threw exception IndexSizeError: Failed to ex
ecute 'arcTo' on 'Path': The radius provided (-5) is negative.. | 17 PASS path.arcTo(10, 10, 20, 20, -5) threw exception IndexSizeError: Failed to ex
ecute 'arcTo' on 'Path2D': The radius provided (-5) is negative.. |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |