1 Series of tests to ensure correct behaviour when canvas size is extremely large.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 check for crash on extremely large canvas size.
10 check for crash after resetting to the same size.
14 check for crash after resizing to googol.
18 check for crash after resetting to the same size.
22 check again for crash on extremely large canvas size.
26 after resizing to normal size, the canvas must be in a valid state.
29 PASS imgdata[6] is 255
30 PASS successfullyParsed is true