| OLD | NEW |
| (Empty) |
| 1 Test the behavior of CanvasRenderingContext2D.drawImageFromRect() when called wi
th 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.drawImageFromRect() threw exception TypeError: Failed to execute 'drawI
mageFromRect' on 'CanvasRenderingContext2D': 1 argument required, but only 0 pre
sent.. | |
| 7 PASS ctx.drawImageFromRect(imageElement) is undefined | |
| 8 PASS ctx.drawImageFromRect(imageElement, 0) is undefined | |
| 9 PASS ctx.drawImageFromRect(imageElement, 0, 0) is undefined | |
| 10 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0) is undefined | |
| 11 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0, 0) is undefined | |
| 12 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0, 0, 0) is undefined | |
| 13 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0, 0, 0, 0) is undefined | |
| 14 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0, 0, 0, 0, 0) is undefined | |
| 15 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0, 0, 0, 0, 0, 0) is undefined | |
| 16 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0) is undefined | |
| 17 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) is undefi
ned | |
| 18 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) is und
efined | |
| 19 PASS ctx.drawImageFromRect(imageElement, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) is
undefined | |
| 20 PASS successfullyParsed is true | |
| 21 | |
| 22 TEST COMPLETE | |
| 23 | |
| OLD | NEW |