| OLD | NEW |
| 1 Tests behavior under a restored context. | 1 Tests behavior under a restored context. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 PASS successfullyParsed is true |
| 6 |
| 7 TEST COMPLETE |
| 5 Test losing a context and inability to restore it. | 8 Test losing a context and inability to restore it. |
| 6 Test valid context | 9 Test valid context |
| 7 PASS gl.isContextLost() is false | 10 PASS gl.isContextLost() is false |
| 8 PASS gl.getError() is gl.NO_ERROR | 11 PASS gl.getError() is gl.NO_ERROR |
| 9 PASS shouldBe 255,10,20 | 12 PASS shouldBe 255,10,20 |
| 10 PASS gl.getError() is gl.NO_ERROR | 13 PASS gl.getError() is gl.NO_ERROR |
| 11 | 14 |
| 12 PASS gl.isContextLost() is true | 15 PASS gl.isContextLost() is true |
| 13 PASS gl.getError() is gl.CONTEXT_LOST_WEBGL | 16 PASS gl.getError() is gl.CONTEXT_LOST_WEBGL |
| 14 PASS gl.getError() is gl.NO_ERROR | 17 PASS gl.getError() is gl.NO_ERROR |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 PASS shouldBe 255,10,20 | 55 PASS shouldBe 255,10,20 |
| 53 PASS gl.getError() is gl.NO_ERROR | 56 PASS gl.getError() is gl.NO_ERROR |
| 54 PASS gl.bindTexture(gl.TEXTURE_2D, texture) was expected value: NO_ERROR. | 57 PASS gl.bindTexture(gl.TEXTURE_2D, texture) was expected value: NO_ERROR. |
| 55 PASS gl.useProgram(program) was expected value: NO_ERROR. | 58 PASS gl.useProgram(program) was expected value: NO_ERROR. |
| 56 PASS gl.bindBuffer(gl.ARRAY_BUFFER, bufferObjects[0]) was expected value: NO_ERR
OR. | 59 PASS gl.bindBuffer(gl.ARRAY_BUFFER, bufferObjects[0]) was expected value: NO_ERR
OR. |
| 57 | 60 |
| 58 PASS successfullyParsed is true | 61 PASS successfullyParsed is true |
| 59 | 62 |
| 60 TEST COMPLETE | 63 TEST COMPLETE |
| 61 | 64 |
| OLD | NEW |