| 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 Test of drawElements with out-of-bounds parameters | 2 Test of drawElements with out-of-bounds parameters |
| 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 empty index buffer | 6 Test empty index buffer |
| 6 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 0) genera
ted expected GL error: INVALID_OPERATION. | 7 PASS context.drawElements(context.TRIANGLES, 3, context.UNSIGNED_BYTE, 0) genera
ted expected GL error: INVALID_OPERATION. |
| 7 PASS context.drawElements(context.TRIANGLES, 10000, context.UNSIGNED_BYTE, 0) ge
nerated expected GL error: INVALID_OPERATION. | 8 PASS context.drawElements(context.TRIANGLES, 10000, context.UNSIGNED_BYTE, 0) ge
nerated expected GL error: INVALID_OPERATION. |
| 8 PASS context.drawElements(context.TRIANGLES, 10000000000000, context.UNSIGNED_BY
TE, 0) generated expected GL error: INVALID_OPERATION. | 9 PASS context.drawElements(context.TRIANGLES, 10000000000000, context.UNSIGNED_BY
TE, 0) generated expected GL error: INVALID_OPERATION. |
| 9 PASS context.drawElements(context.TRIANGLES, -1, context.UNSIGNED_BYTE, 0) gener
ated expected GL error: INVALID_VALUE. | 10 PASS context.drawElements(context.TRIANGLES, -1, context.UNSIGNED_BYTE, 0) gener
ated expected GL error: INVALID_VALUE. |
| 10 PASS context.drawElements(context.TRIANGLES, 1, context.UNSIGNED_BYTE, 0) genera
ted expected GL error: INVALID_OPERATION. | 11 PASS context.drawElements(context.TRIANGLES, 1, context.UNSIGNED_BYTE, 0) genera
ted expected GL error: INVALID_OPERATION. |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 PASS context.drawElements(context.TRIANGLES, 0, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: NO_ERROR. | 52 PASS context.drawElements(context.TRIANGLES, 0, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: NO_ERROR. |
| 52 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: NO_ERROR. | 53 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: NO_ERROR. |
| 53 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 1) gener
ated expected GL error: INVALID_OPERATION. | 54 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 1) gener
ated expected GL error: INVALID_OPERATION. |
| 54 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 2) gener
ated expected GL error: NO_ERROR. | 55 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 2) gener
ated expected GL error: NO_ERROR. |
| 55 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: INVALID_OPERATION. | 56 PASS context.drawElements(context.TRIANGLES, 6, context.UNSIGNED_SHORT, 0) gener
ated expected GL error: INVALID_OPERATION. |
| 56 | 57 |
| 57 PASS successfullyParsed is true | 58 PASS successfullyParsed is true |
| 58 | 59 |
| 59 TEST COMPLETE | 60 TEST COMPLETE |
| 60 | 61 |
| OLD | NEW |