1 Test the WebGL premultipledAlpha context creation flag.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 testing: premultipliedAlpha: true imageFormat: image/png
7 PASS gl.getContextAttributes().premultipledAlpha is premultipledAlpha
8 PASS gl.getContextAttributes().preserveDrawingBuffer is true
9 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
10 PASS getError was expected value: NO_ERROR : Should be no errors from drawing.
11 PASS getError was expected value: NO_ERROR : Should be no errors from creating copy.
12 PASS getError was expected value: NO_ERROR : Should be no errors from 2nd drawing.
13 PASS should draw with 64,128,255,128
15 testing: premultipliedAlpha: true imageFormat: undefined
16 PASS gl.getContextAttributes().premultipledAlpha is premultipledAlpha
17 PASS gl.getContextAttributes().preserveDrawingBuffer is true
18 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
19 PASS getError was expected value: NO_ERROR : Should be no errors from drawing.
20 PASS getError was expected value: NO_ERROR : Should be no errors from creating copy.
21 PASS getError was expected value: NO_ERROR : Should be no errors from 2nd drawing.
22 PASS should draw with 64,128,255,128
24 testing: premultipliedAlpha: false imageFormat: image/png
25 PASS gl.getContextAttributes().premultipledAlpha is premultipledAlpha
26 PASS gl.getContextAttributes().preserveDrawingBuffer is true
27 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
28 PASS getError was expected value: NO_ERROR : Should be no errors from drawing.
29 PASS getError was expected value: NO_ERROR : Should be no errors from creating copy.
30 PASS getError was expected value: NO_ERROR : Should be no errors from 2nd drawing.
31 PASS should draw with 255,192,128,1
33 testing: premultipliedAlpha: false imageFormat: undefined
34 PASS gl.getContextAttributes().premultipledAlpha is premultipledAlpha
35 PASS gl.getContextAttributes().preserveDrawingBuffer is true
36 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
37 PASS getError was expected value: NO_ERROR : Should be no errors from drawing.
38 PASS getError was expected value: NO_ERROR : Should be no errors from creating copy.
39 PASS getError was expected value: NO_ERROR : Should be no errors from 2nd drawing.
40 PASS should draw with 255,192,128,1
42 testing: premultipliedAlpha: false imageFormat: image/jpeg
43 PASS gl.getContextAttributes().premultipledAlpha is premultipledAlpha
44 PASS gl.getContextAttributes().preserveDrawingBuffer is true
45 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
46 PASS getError was expected value: NO_ERROR : Should be no errors from drawing.
47 PASS getError was expected value: NO_ERROR : Should be no errors from creating copy.
48 PASS getError was expected value: NO_ERROR : Should be no errors from 2nd drawing.
49 PASS should draw with 128,128,128,255
51 testing: premultipliedAlpha: true imageFormat: image/jpeg
52 PASS gl.getContextAttributes().premultipledAlpha is premultipledAlpha
53 PASS gl.getContextAttributes().preserveDrawingBuffer is true
54 PASS getError was expected value: NO_ERROR : Should be no errors from setup.
55 PASS getError was expected value: NO_ERROR : Should be no errors from drawing.
56 PASS getError was expected value: NO_ERROR : Should be no errors from creating copy.
57 PASS getError was expected value: NO_ERROR : Should be no errors from 2nd drawing.
58 PASS should draw with 128,128,128,255
59 PASS successfullyParsed is true