| OLD | NEW |
| 1 Test that drawImage() does nothing with an incomplete image or video | 1 Test the behavior of canvas recovery after a gpu context loss |
| 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(img, 0, 0) is undefined | |
| 7 PASS imgdata[0] is 255 | 6 PASS imgdata[0] is 255 |
| 8 PASS imgdata[1] is 0 | 7 PASS imgdata[1] is 0 |
| 9 PASS imgdata[2] is 0 | 8 PASS imgdata[2] is 0 |
| 10 PASS imgdata[3] is 255 | 9 PASS imgdata[3] is 255 |
| 11 PASS ctx.drawImage(video, 0, 0) is undefined | 10 PASS imgdata[0] is 0 |
| 12 PASS imgdata[0] is 255 | |
| 13 PASS imgdata[1] is 0 | 11 PASS imgdata[1] is 0 |
| 14 PASS imgdata[2] is 0 | 12 PASS imgdata[2] is 0 |
| 15 PASS imgdata[3] is 255 | 13 PASS imgdata[3] is 0 |
| 16 PASS successfullyParsed is true | 14 PASS successfullyParsed is true |
| 17 | 15 |
| 18 TEST COMPLETE | 16 TEST COMPLETE |
| 17 PASS Graphics context recovered. |
| 19 | 18 |
| OLD | NEW |