OLD | NEW |
| (Empty) |
1 Test the behavior of CanvasRenderingContext2D.setStrokeColor() when called with
different numbers of arguments. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS ctx.setStrokeColor() threw exception TypeError: Failed to execute 'setStrok
eColor' on 'CanvasRenderingContext2D': 1 argument required, but only 0 present.. | |
7 PASS ctx.setStrokeColor('red') is undefined | |
8 PASS ctx.setStrokeColor(0) is undefined | |
9 PASS ctx.setStrokeColor(0, 0) is undefined | |
10 PASS ctx.setStrokeColor(0, 0, 0) threw exception TypeError: Failed to execute 's
etStrokeColor' on 'CanvasRenderingContext2D': Valid arities are: [1, 2, 4, 5], b
ut 3 arguments provided.. | |
11 PASS ctx.setStrokeColor(0, 0, 0, 0) is undefined | |
12 PASS ctx.setStrokeColor(0, 0, 0, 0, 0) is undefined | |
13 PASS ctx.setStrokeColor(0, 0, 0, 0, 0, 0) is undefined | |
14 PASS successfullyParsed is true | |
15 | |
16 TEST COMPLETE | |
17 | |
OLD | NEW |