| OLD | NEW |
| (Empty) |
| 1 This test checks behavior of valid arguments to Canvas::drawImage that use a val
id source image. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 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: Failed to execute 'drawIm
age' on 'CanvasRenderingContext2D': 3 arguments required, but only 1 present.. | |
| 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. | |
| 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. | |
| 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. | |
| 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
. | |
| 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
. | |
| 18 PASS ctx.drawImage(myImage, -10, -10, 72, 84, 0, 0, 20, 20) did not throw except
ion. | |
| 19 PASS ctx.drawImage(myImage, 42, 64, -52, -64, 0, 0, 20, 20) did not throw except
ion. | |
| 20 PASS ctx.drawImage(myImage, 62, 64, -52, -64, 0, 0, 20, 20) did not throw except
ion. | |
| 21 PASS ctx.drawImage(myImage, 52, 54, -52, -64, 0, 0, 20, 20) did not throw except
ion. | |
| 22 PASS ctx.drawImage(myImage, 52, 74, -52, -64, 0, 0, 20, 20) did not throw except
ion. | |
| 23 PASS ctx.drawImage(myImage, 62, 74, -72, -84, 0, 0, 20, 20) did not throw except
ion. | |
| 24 PASS ctx.drawImage(new Image(), 0, 0) did not throw exception. | |
| 25 PASS ctx.drawImage(new Image(), 0, 0, 20, 20) did not throw exception. | |
| 26 PASS ctx.drawImage(new Image(), 0, 0, 20, 20, 0, 0, 20, 20) did not throw except
ion. | |
| 27 PASS ctx.drawImage(new Image(), 0, 0) did not throw exception. | |
| 28 PASS ctx.drawImage(new Image(), 0, 0, 0, 20) did not throw exception. | |
| 29 PASS ctx.drawImage(new Image(), 0, 0, 0, 20, 0, 0, 20, 20) did not throw excepti
on. | |
| 30 PASS ctx.drawImage(bitmap, 0, 0) did not throw exception. | |
| 31 PASS ctx.drawImage(bitmap, 0, 0, 20, 20) did not throw exception. | |
| 32 PASS ctx.drawImage(bitmap, 0, 0, 20, 20, 0, 0, 20, 20) did not throw exception. | |
| 33 PASS ctx.drawImage(bitmap, 0, 0, 0, 0) did not throw exception. | |
| 34 PASS ctx.drawImage(bitmap, 0, 0, 20, 20, 0, 0, 0, 0) did not throw exception. | |
| 35 PASS ctx.drawImage(bitmap, 20, 20, -20, 0, 0, 0, 20, 20) did not throw exception
. | |
| 36 PASS ctx.drawImage(bitmap, 0, 0, 20, 0, 20, 20, -20, -20) did not throw exceptio
n. | |
| 37 PASS ctx.drawImage(bitmap, 20, 20, -20, 0, 20, 20, -20, -20) did not throw excep
tion. | |
| 38 PASS ctx.drawImage(bitmap, -10, 0, 52, 64, 0, 0, 20, 20) did not throw exception
. | |
| 39 PASS ctx.drawImage(bitmap, 10, 0, 52, 64, 0, 0, 20, 20) did not throw exception. | |
| 40 PASS ctx.drawImage(bitmap, 0, -10, 52, 64, 0, 0, 20, 20) did not throw exception
. | |
| 41 PASS ctx.drawImage(bitmap, 0, 10, 52, 64, 0, 0, 20, 20) did not throw exception. | |
| 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. | |
| 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. | |
| 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. | |
| 48 PASS successfullyParsed is true | |
| 49 | |
| 50 TEST COMPLETE | |
| 51 | |
| OLD | NEW |