1 Tests to ensure correct behaviour of canvas loss and restoration when size is extremely large then, restored to a reasonable value.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS contextLostTest is false
7 PASS ctx.isContextLost() is false
8 PASS contextLostTest is true
9 PASS ctx.isContextLost() is true
10 PASS contextLostTest is true
11 PASS ctx.isContextLost() is true
12 PASS contextLostTest is true
13 PASS ctx.isContextLost() is true
14 PASS successfullyParsed is true
17 PASS Graphics context lost event dispatched.
18 PASS contextLostTest is true
19 PASS ctx.isContextLost() is true
20 PASS Context restored event dispatched after context lost.
21 PASS contextLostTest is false
22 PASS ctx.isContextLost() is false