1 Test that the rendering context state is intact after a call to putImageData()
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Checking initial state for sanity
7 PASS ctx.fillStyle is '#ff0000'
11 PASS imgdata[3] is 255
16 Calling putImageData()
17 PASS imgdata[0] is 255
20 PASS imgdata[3] is 255
21 Checking if state is intact
22 PASS ctx.fillStyle is '#ff0000'
23 PASS imgdata[0] is 255
26 PASS imgdata[3] is 255
27 PASS successfullyParsed is true