| OLD | NEW |
| 1 | 1 |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script src="resources/webgl-test.js"></script> | 5 <script src="resources/webgl-test.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <div id="description"></div> | 8 <div id="description"></div> |
| 9 <div id="console"></div> | 9 <div id="console"></div> |
| 10 | 10 |
| 11 <script> | 11 <script> |
| 12 description("Test of getActiveAttrib and getActiveUniform"); | 12 description("Test of getActiveAttrib and getActiveUniform"); |
| 13 | 13 |
| 14 if (window.internals) | 14 if (window.internals) |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 debug("Check trying to get attribs from deleted program"); | 100 debug("Check trying to get attribs from deleted program"); |
| 101 context.deleteProgram(program); | 101 context.deleteProgram(program); |
| 102 shouldBeNull("context.getActiveUniform(program, 0)"); | 102 shouldBeNull("context.getActiveUniform(program, 0)"); |
| 103 glErrorShouldBe(context, context.INVALID_VALUE); | 103 glErrorShouldBe(context, context.INVALID_VALUE); |
| 104 shouldBeNull("context.getActiveAttrib(program, 0)"); | 104 shouldBeNull("context.getActiveAttrib(program, 0)"); |
| 105 glErrorShouldBe(context, context.INVALID_VALUE); | 105 glErrorShouldBe(context, context.INVALID_VALUE); |
| 106 </script> | 106 </script> |
| 107 | 107 |
| 108 </body> | 108 </body> |
| 109 </html> | 109 </html> |
| OLD | NEW |