| OLD | NEW |
| 1 This test checks behavior of valid arguments to Canvas::drawImage that use a val
id source image. | 1 This test checks behavior of valid arguments to Canvas::drawImage that use a val
id source image. |
| 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.drawImage() threw exception TypeError: Not enough arguments. | 6 PASS ctx.drawImage() threw exception TypeError: Failed to execute 'drawImage' on
'CanvasRenderingContext2D': 3 arguments required, but only 0 present.. |
| 7 PASS ctx.drawImage(myImage) threw exception TypeError: Not enough arguments. | 7 PASS ctx.drawImage(myImage) threw exception TypeError: Failed to execute 'drawIm
age' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 present.. |
| 8 PASS ctx.drawImage(myImage, 0) threw exception TypeError: Not enough arguments. | 8 PASS ctx.drawImage(myImage, 0) threw exception TypeError: Failed to execute 'dra
wImage' on 'CanvasRenderingContext2D': 3 arguments required, but only 2 present.
. |
| 9 PASS ctx.drawImage(myImage, 0, 0) did not throw exception. | 9 PASS ctx.drawImage(myImage, 0, 0) did not throw exception. |
| 10 PASS ctx.drawImage(myImage, 0, 0, 20, 20) did not throw exception. | 10 PASS ctx.drawImage(myImage, 0, 0, 20, 20) did not throw exception. |
| 11 PASS ctx.drawImage(myImage, 0, 0, 20, 20, 0, 0, 20, 20) did not throw exception. | 11 PASS ctx.drawImage(myImage, 0, 0, 20, 20, 0, 0, 20, 20) did not throw exception. |
| 12 PASS ctx.drawImage(myImage, 0, 0, 0, 0) did not throw exception. | 12 PASS ctx.drawImage(myImage, 0, 0, 0, 0) did not throw exception. |
| 13 PASS ctx.drawImage(myImage, 0, 0, 20, 20, 0, 0, 0, 0) did not throw exception. | 13 PASS ctx.drawImage(myImage, 0, 0, 20, 20, 0, 0, 0, 0) did not throw exception. |
| 14 PASS ctx.drawImage(myImage, -10, 0, 52, 64, 0, 0, 20, 20) did not throw exceptio
n. | 14 PASS ctx.drawImage(myImage, -10, 0, 52, 64, 0, 0, 20, 20) did not throw exceptio
n. |
| 15 PASS ctx.drawImage(myImage, 10, 0, 52, 64, 0, 0, 20, 20) did not throw exception
. | 15 PASS ctx.drawImage(myImage, 10, 0, 52, 64, 0, 0, 20, 20) did not throw exception
. |
| 16 PASS ctx.drawImage(myImage, 0, -10, 52, 64, 0, 0, 20, 20) did not throw exceptio
n. | 16 PASS ctx.drawImage(myImage, 0, -10, 52, 64, 0, 0, 20, 20) did not throw exceptio
n. |
| 17 PASS ctx.drawImage(myImage, 0, 10, 52, 64, 0, 0, 20, 20) did not throw exception
. | 17 PASS ctx.drawImage(myImage, 0, 10, 52, 64, 0, 0, 20, 20) did not throw exception
. |
| 18 PASS ctx.drawImage(myImage, -10, -10, 72, 84, 0, 0, 20, 20) did not throw except
ion. | 18 PASS ctx.drawImage(myImage, -10, -10, 72, 84, 0, 0, 20, 20) did not throw except
ion. |
| (...skipping 23 matching lines...) Expand all Loading... |
| 42 PASS ctx.drawImage(bitmap, -10, -10, 72, 84, 0, 0, 20, 20) did not throw excepti
on. | 42 PASS ctx.drawImage(bitmap, -10, -10, 72, 84, 0, 0, 20, 20) did not throw excepti
on. |
| 43 PASS ctx.drawImage(bitmap, 42, 64, -52, -64, 0, 0, 20, 20) did not throw excepti
on. | 43 PASS ctx.drawImage(bitmap, 42, 64, -52, -64, 0, 0, 20, 20) did not throw excepti
on. |
| 44 PASS ctx.drawImage(bitmap, 62, 64, -52, -64, 0, 0, 20, 20) did not throw excepti
on. | 44 PASS ctx.drawImage(bitmap, 62, 64, -52, -64, 0, 0, 20, 20) did not throw excepti
on. |
| 45 PASS ctx.drawImage(bitmap, 52, 54, -52, -64, 0, 0, 20, 20) did not throw excepti
on. | 45 PASS ctx.drawImage(bitmap, 52, 54, -52, -64, 0, 0, 20, 20) did not throw excepti
on. |
| 46 PASS ctx.drawImage(bitmap, 52, 74, -52, -64, 0, 0, 20, 20) did not throw excepti
on. | 46 PASS ctx.drawImage(bitmap, 52, 74, -52, -64, 0, 0, 20, 20) did not throw excepti
on. |
| 47 PASS ctx.drawImage(bitmap, 62, 74, -72, -84, 0, 0, 20, 20) did not throw excepti
on. | 47 PASS ctx.drawImage(bitmap, 62, 74, -72, -84, 0, 0, 20, 20) did not throw excepti
on. |
| 48 PASS successfullyParsed is true | 48 PASS successfullyParsed is true |
| 49 | 49 |
| 50 TEST COMPLETE | 50 TEST COMPLETE |
| 51 | 51 |
| OLD | NEW |