1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
2 Tests that index validation verifies the correct number of indices
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Testing with valid indices
7 PASS gl.checkFramebufferStatus(gl.FRAMEBUFFER) is gl.FRAMEBUFFER_COMPLETE
8 PASS getError was expected value: NO_ERROR :
9 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_SHORT, 0) is undefined.
10 PASS getError was expected value: NO_ERROR :
11 Testing with out-of-range indices
12 Enable vertices, valid
13 PASS getError was expected value: NO_ERROR :
14 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_SHORT, 0) is undefined.
15 PASS getError was expected value: NO_ERROR :
16 Enable normals, out-of-range
17 PASS getError was expected value: NO_ERROR :
18 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_SHORT, 0) is undefined.
19 PASS getError was expected value: INVALID_OPERATION :
20 Test with enabled attribute that does not belong to current program
21 Enable an extra attribute with null
22 PASS getError was expected value: NO_ERROR :
23 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_SHORT, 0) is undefined.
24 PASS getError was expected value: INVALID_OPERATION :
25 Enable an extra attribute with insufficient data buffer
26 PASS getError was expected value: NO_ERROR :
27 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_SHORT, 0) is undefined.
28 Pass large negative index to vertexAttribPointer
29 PASS getError was expected value: INVALID_VALUE :
30 PASS gl.drawElements(gl.TRIANGLES, 3, gl.UNSIGNED_SHORT, 0) is undefined.
31 PASS successfullyParsed is true