| 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 the WebGLUniformLocation API | 2 Tests the WebGLUniformLocation API |
| 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 contextA.useProgram(programA2) generated expected GL error: NO_ERROR. | 6 PASS contextA.useProgram(programA2) generated expected GL error: NO_ERROR. |
| 6 PASS contextA.uniformMatrix4fv(locationA, false, mat) generated expected GL erro
r: INVALID_OPERATION. | 7 PASS contextA.uniformMatrix4fv(locationA, false, mat) generated expected GL erro
r: INVALID_OPERATION. |
| 7 PASS contextA.useProgram(programA1) generated expected GL error: NO_ERROR. | 8 PASS contextA.useProgram(programA1) generated expected GL error: NO_ERROR. |
| 8 PASS contextA.uniformMatrix4fv(locationA, false, mat) generated expected GL erro
r: NO_ERROR. | 9 PASS contextA.uniformMatrix4fv(locationA, false, mat) generated expected GL erro
r: NO_ERROR. |
| 9 PASS contextA.uniformMatrix4fv(null, false, mat) generated expected GL error: NO
_ERROR. | 10 PASS contextA.uniformMatrix4fv(null, false, mat) generated expected GL error: NO
_ERROR. |
| 10 PASS contextA.useProgram(programS) generated expected GL error: NO_ERROR. | 11 PASS contextA.useProgram(programS) generated expected GL error: NO_ERROR. |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 PASS contextA.useProgram(programS) generated expected GL error: NO_ERROR. | 24 PASS contextA.useProgram(programS) generated expected GL error: NO_ERROR. |
| 24 PASS contextA.linkProgram(programS) generated expected GL error: NO_ERROR. | 25 PASS contextA.linkProgram(programS) generated expected GL error: NO_ERROR. |
| 25 PASS contextA.uniform1i(locationSx, 3) generated expected GL error: INVALID_OPER
ATION. | 26 PASS contextA.uniform1i(locationSx, 3) generated expected GL error: INVALID_OPER
ATION. |
| 26 PASS contextA.getUniform(programS, locationSx) generated expected GL error: INVA
LID_OPERATION. | 27 PASS contextA.getUniform(programS, locationSx) generated expected GL error: INVA
LID_OPERATION. |
| 27 PASS contextA.uniform1i(locationSx, 3) generated expected GL error: NO_ERROR. | 28 PASS contextA.uniform1i(locationSx, 3) generated expected GL error: NO_ERROR. |
| 28 PASS contextA.getUniform(programS, locationSx) is 3 | 29 PASS contextA.getUniform(programS, locationSx) is 3 |
| 29 PASS successfullyParsed is true | 30 PASS successfullyParsed is true |
| 30 | 31 |
| 31 TEST COMPLETE | 32 TEST COMPLETE |
| 32 | 33 |
| OLD | NEW |