| OLD | NEW |
| 1 Test the behavior of canvas recovery after a gpu context loss | 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 imgdata[0] is 255 | 6 PASS contextLostTest is false |
| 7 PASS imgdata[1] is 0 | 7 PASS ctx.isContextLost() is false |
| 8 PASS imgdata[2] is 0 | 8 PASS contextLostTest is true |
| 9 PASS imgdata[3] is 255 | 9 PASS ctx.isContextLost() is true |
| 10 PASS imgdata[0] is 0 | |
| 11 PASS imgdata[1] is 0 | |
| 12 PASS imgdata[2] is 0 | |
| 13 PASS imgdata[3] is 0 | |
| 14 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
| 15 | 11 |
| 16 TEST COMPLETE | 12 TEST COMPLETE |
| 17 PASS Graphics context recovered. | 13 PASS Graphics context lost event dispatched. |
| 14 PASS contextLostTest is true |
| 15 PASS ctx.isContextLost() is true |
| 16 PASS Context restored event dispatched after context lost. |
| 17 PASS contextLostTest is false |
| 18 PASS ctx.isContextLost() is false |
| 18 | 19 |
| OLD | NEW |