| OLD | NEW |
| (Empty) |
| 1 Verify limits on the lengths of attrib locations. | |
| 2 Test attrib location underneath the length limit | |
| 3 PASS gl.getProgramParameter(program, gl.LINK_STATUS) is true | |
| 4 PASS attrib location should not be -1 | |
| 5 PASS getError was expected value: NO_ERROR : | |
| 6 Test attrib location exactly at the length limit | |
| 7 PASS gl.getProgramParameter(program, gl.LINK_STATUS) is true | |
| 8 PASS attrib location should not be -1 | |
| 9 PASS getError was expected value: NO_ERROR : | |
| 10 Test attrib location over the length limit | |
| 11 Shader compilation should fail | |
| 12 PASS wtu.loadShaderFromScript(gl, "badVertexShader", gl.VERTEX_SHADER, function
(err) {}) is null | |
| 13 PASS getError was expected value: NO_ERROR : | |
| 14 Attempt to bind too-long attrib location should produce error | |
| 15 PASS getError was expected value: INVALID_VALUE : | |
| 16 Attempt to fetch too-long attrib location should produce error | |
| 17 PASS gl.getAttribLocation(program, "vPosition01234567890123456789012345678901234
56789012345678901234567890123456789012345678901234567890123456789012345678901234
56789012345678901234567890123456789012345678901234567890123456789012345678901234
56789012345678901234567890123456789012345678901234567") is -1 | |
| 18 PASS getError was expected value: INVALID_VALUE : | |
| 19 PASS successfullyParsed is true | |
| 20 | |
| 21 TEST COMPLETE | |
| 22 | |
| OLD | NEW |