| OLD | NEW |
| 1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec
ause of its detrimental effects to the end user's experience. For more help, che
ck http://xhr.spec.whatwg.org/. |
| 1 Tests that index validation for drawElements does not examine too many indices | 2 Tests that index validation for drawElements does not examine too many indices |
| 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 Test out of range indices | 6 Test out of range indices |
| 6 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 2)
generated expected GL error: NO_ERROR. | 7 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 2)
generated expected GL error: NO_ERROR. |
| 7 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 0)
generated expected GL error: INVALID_OPERATION. | 8 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 0)
generated expected GL error: INVALID_OPERATION. |
| 8 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 4)
generated expected GL error: INVALID_OPERATION. | 9 PASS context.drawElements(context.TRIANGLE_STRIP, 4, context.UNSIGNED_SHORT, 4)
generated expected GL error: INVALID_OPERATION. |
| 9 | 10 |
| 10 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
| 11 | 12 |
| 12 TEST COMPLETE | 13 TEST COMPLETE |
| 13 | 14 |
| OLD | NEW |