| OLD | NEW |
| 1 CONSOLE WARNING: Avoid synchronous requests as it hampers user experience due to
unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni
ng. |
| 1 Tests passing a vec4 to a uniform and a canvas to texImage2D | 2 Tests passing a vec4 to a uniform and a canvas to texImage2D |
| 2 | 3 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 5 |
| 5 PASS gl.useProgram(floatProgram) is undefined. | 6 PASS gl.useProgram(floatProgram) is undefined. |
| 6 PASS gl.getError() is gl.NO_ERROR | 7 PASS gl.getError() is gl.NO_ERROR |
| 7 PASS gl.uniform4fv(fval4Loc, new Float32Array([0.1, 0.2, 0.4, 1.0])); is undefin
ed. | 8 PASS gl.uniform4fv(fval4Loc, new Float32Array([0.1, 0.2, 0.4, 1.0])); is undefin
ed. |
| 8 PASS gl.bindTexture(gl.TEXTURE_2D, texture) is undefined. | 9 PASS gl.bindTexture(gl.TEXTURE_2D, texture) is undefined. |
| 9 PASS gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, tmpcanv
as) is undefined. | 10 PASS gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, tmpcanv
as) is undefined. |
| 10 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
| 11 | 12 |
| 12 TEST COMPLETE | 13 TEST COMPLETE |
| 13 | 14 |
| OLD | NEW |