| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../js/resources/js-test-pre.js"></script> |
| 4 <script src="resources/webgl-test.js"></script> | 4 <script src="resources/webgl-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <div id="description"></div> | 7 <div id="description"></div> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 glErrorShouldBe(context, context.INVALID_OPERATION); | 57 glErrorShouldBe(context, context.INVALID_OPERATION); |
| 58 // Error state should be clear by this point | 58 // Error state should be clear by this point |
| 59 glErrorShouldBe(context, context.NO_ERROR); | 59 glErrorShouldBe(context, context.NO_ERROR); |
| 60 shouldBeUndefined("context.framebufferTexture2D(context.FRAMEBUFFER, context.COL
OR_ATTACHMENT0, context.TEXTURE_2D, null, 0)"); | 60 shouldBeUndefined("context.framebufferTexture2D(context.FRAMEBUFFER, context.COL
OR_ATTACHMENT0, context.TEXTURE_2D, null, 0)"); |
| 61 // Synthetic OpenGL error | 61 // Synthetic OpenGL error |
| 62 glErrorShouldBe(context, context.INVALID_OPERATION); | 62 glErrorShouldBe(context, context.INVALID_OPERATION); |
| 63 // Error state should be clear by this point | 63 // Error state should be clear by this point |
| 64 glErrorShouldBe(context, context.NO_ERROR); | 64 glErrorShouldBe(context, context.NO_ERROR); |
| 65 </script> | 65 </script> |
| 66 | 66 |
| 67 <script src="../../js/resources/js-test-post.js"></script> | |
| 68 </body> | 67 </body> |
| 69 </html> | 68 </html> |
| OLD | NEW |