commit-queue@webkit.org | 2e19203 | 2010-07-01 17:29:31 +0000 | [diff] [blame] | 1 | Test that drawImage() does nothing with an incomplete image or video |
| 2 | |
| 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 4 | |
| 5 | |
| 6 | PASS ctx.drawImage(img, 0, 0) is undefined |
| 7 | PASS imgdata[0] is 255 |
| 8 | PASS imgdata[1] is 0 |
| 9 | PASS imgdata[2] is 0 |
| 10 | PASS imgdata[3] is 255 |
| 11 | PASS ctx.drawImage(video, 0, 0) is undefined |
| 12 | PASS imgdata[0] is 255 |
| 13 | PASS imgdata[1] is 0 |
| 14 | PASS imgdata[2] is 0 |
| 15 | PASS imgdata[3] is 255 |
| 16 | PASS successfullyParsed is true |
| 17 | |
| 18 | TEST COMPLETE |
| 19 | |