OLD | NEW |
1 Test the behavior of CanvasRenderingContext2D.strokeRect() when called with diff
erent numbers of arguments. | 1 Test the behavior of CanvasRenderingContext2D.strokeRect() when called with diff
erent numbers of arguments. |
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.strokeRect() is undefined | 6 PASS ctx.strokeRect() threw exception TypeError: Not enough arguments. |
7 PASS ctx.strokeRect(0) is undefined | 7 PASS ctx.strokeRect(0) threw exception TypeError: Not enough arguments. |
8 PASS ctx.strokeRect(0, 0) is undefined | 8 PASS ctx.strokeRect(0, 0) threw exception TypeError: Not enough arguments. |
9 PASS ctx.strokeRect(0, 0, 0) is undefined | 9 PASS ctx.strokeRect(0, 0, 0) threw exception TypeError: Not enough arguments. |
10 PASS ctx.strokeRect(0, 0, 0, 0) is undefined | 10 PASS ctx.strokeRect(0, 0, 0, 0) is undefined |
11 PASS ctx.strokeRect(0, 0, 0, 0, 0) is undefined | 11 PASS ctx.strokeRect(0, 0, 0, 0, 0) is undefined |
12 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
13 | 13 |
14 TEST COMPLETE | 14 TEST COMPLETE |
15 | 15 |
OLD | NEW |