| OLD | NEW |
| 1 Verify WebGLContextAttributes are working as specified, including alpha, depth,
stencil, antialias, but not premultipliedAlpha | 1 Verify WebGLContextAttributes are working as specified, including alpha, depth,
stencil, antialias, but not premultipliedAlpha |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 PASS successfullyParsed is true |
| 6 |
| 7 TEST COMPLETE |
| 5 Testing alpha = true | 8 Testing alpha = true |
| 6 PASS getError was expected value: NO_ERROR : should be no errors | 9 PASS getError was expected value: NO_ERROR : should be no errors |
| 7 PASS gl = getWebGL(1, 1, { alpha: true, depth: false, stencil: false, antialias:
false }, [ 0, 0, 0, 0 ], 1, 0) is non-null. | 10 PASS gl = getWebGL(1, 1, { alpha: true, depth: false, stencil: false, antialias:
false }, [ 0, 0, 0, 0 ], 1, 0) is non-null. |
| 8 PASS gl.getParameter(gl.ALPHA_BITS) >= 8 is true | 11 PASS gl.getParameter(gl.ALPHA_BITS) >= 8 is true |
| 9 PASS gl.getParameter(gl.RED_BITS) >= 8 is true | 12 PASS gl.getParameter(gl.RED_BITS) >= 8 is true |
| 10 PASS gl.getParameter(gl.GREEN_BITS) >= 8 is true | 13 PASS gl.getParameter(gl.GREEN_BITS) >= 8 is true |
| 11 PASS gl.getParameter(gl.BLUE_BITS) >= 8 is true | 14 PASS gl.getParameter(gl.BLUE_BITS) >= 8 is true |
| 12 PASS gl.getParameter(gl.DEPTH_BITS) == 0 is true | 15 PASS gl.getParameter(gl.DEPTH_BITS) == 0 is true |
| 13 PASS gl.getParameter(gl.STENCIL_BITS) == 0 is true | 16 PASS gl.getParameter(gl.STENCIL_BITS) == 0 is true |
| 14 PASS contextAttribs = gl.getContextAttributes() is non-null. | 17 PASS contextAttribs = gl.getContextAttributes() is non-null. |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 PASS pixel[0] != 255 && pixel[0] != 0 is contextAttribs.antialias | 108 PASS pixel[0] != 255 && pixel[0] != 0 is contextAttribs.antialias |
| 106 Testing antialias = false | 109 Testing antialias = false |
| 107 PASS getError was expected value: NO_ERROR : should be no errors | 110 PASS getError was expected value: NO_ERROR : should be no errors |
| 108 PASS gl = getWebGL(2, 2, { depth: false, stencil: false, alpha: false, antialias
: false }, [ 0, 0, 0, 1 ], 1, 0) is non-null. | 111 PASS gl = getWebGL(2, 2, { depth: false, stencil: false, alpha: false, antialias
: false }, [ 0, 0, 0, 1 ], 1, 0) is non-null. |
| 109 PASS contextAttribs = gl.getContextAttributes() is non-null. | 112 PASS contextAttribs = gl.getContextAttributes() is non-null. |
| 110 PASS pixel[0] != 255 && pixel[0] != 0 is contextAttribs.antialias | 113 PASS pixel[0] != 255 && pixel[0] != 0 is contextAttribs.antialias |
| 111 PASS successfullyParsed is true | 114 PASS successfullyParsed is true |
| 112 | 115 |
| 113 TEST COMPLETE | 116 TEST COMPLETE |
| 114 | 117 |
| OLD | NEW |