| OLD | NEW |
| (Empty) |
| 1 Test the behavior of CanvasRenderingContext2D.strokeText() when called with diff
erent numbers of arguments. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 PASS ctx.strokeText() threw exception TypeError: Failed to execute 'strokeText'
on 'CanvasRenderingContext2D': 3 arguments required, but only 0 present.. | |
| 7 PASS ctx.strokeText('moo') threw exception TypeError: Failed to execute 'strokeT
ext' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 present.. | |
| 8 PASS ctx.strokeText('moo',0) threw exception TypeError: Failed to execute 'strok
eText' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 present.. | |
| 9 PASS ctx.strokeText('moo',0,0) is undefined | |
| 10 PASS ctx.strokeText('moo',0,0,0) is undefined | |
| 11 PASS ctx.strokeText('moo',0,0,0,0) is undefined | |
| 12 PASS successfullyParsed is true | |
| 13 | |
| 14 TEST COMPLETE | |
| 15 | |
| OLD | NEW |