1 Series of tests for canvas alpha
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS ctx1.getContextAttributes().alpha is true
7 PASS imgData1.data[0] is 0
8 PASS imgData1.data[1] is 0
9 PASS imgData1.data[2] is 0
10 PASS imgData1.data[3] is 0
11 PASS ctx2.getContextAttributes().alpha is true
12 PASS imgData2.data[0] is 0
13 PASS imgData2.data[1] is 0
14 PASS imgData2.data[2] is 0
15 PASS imgData2.data[3] is 0
16 PASS ctx3.getContextAttributes().alpha is false
17 PASS ctx4.getContextAttributes().alpha is true
18 PASS imgData4.data[0] is 0
19 PASS imgData4.data[1] is 0
20 PASS imgData4.data[2] is 0
21 PASS imgData4.data[3] is 0
22 PASS attrs.alpha is true
23 PASS ctx4.getContextAttributes().alpha is true
24 PASS imgData4.data[0] is 0
25 PASS imgData4.data[1] is 0
26 PASS imgData4.data[2] is 0
27 PASS imgData4.data[3] is 0
28 PASS successfullyParsed is true