OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../../fast/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 <script> | 8 <script> |
9 var gl = create3DContext(); | 9 var gl = create3DContext(); |
10 shouldThrow('gl.getBufferParameter()'); | 10 shouldThrow('gl.getBufferParameter()'); |
11 shouldThrow('gl.getRenderbufferParameter()'); | 11 shouldThrow('gl.getRenderbufferParameter()'); |
12 shouldThrow('gl.getTexParameter()'); | 12 shouldThrow('gl.getTexParameter()'); |
13 shouldThrow('gl.getVertexAttrib()'); | 13 shouldThrow('gl.getVertexAttrib()'); |
14 shouldThrow('gl.getAttachedShaders()'); | 14 shouldThrow('gl.getAttachedShaders()'); |
15 shouldThrow('gl.getExtension()'); | 15 shouldThrow('gl.getExtension()'); |
16 shouldThrow('gl.getFramebufferAttachmentParameter()'); | 16 shouldThrow('gl.getFramebufferAttachmentParameter()'); |
17 shouldThrow('gl.getParameter()'); | 17 shouldThrow('gl.getParameter()'); |
18 shouldThrow('gl.getProgramParameter()'); | 18 shouldThrow('gl.getProgramParameter()'); |
19 shouldThrow('gl.getShaderParameter()'); | 19 shouldThrow('gl.getShaderParameter()'); |
20 shouldThrow('gl.getUniform()'); | 20 shouldThrow('gl.getUniform()'); |
21 shouldThrow('gl.uniform1iv()'); | 21 shouldThrow('gl.uniform1iv()'); |
22 shouldThrow('gl.uniformMatrix2fv()'); | 22 shouldThrow('gl.uniformMatrix2fv()'); |
23 shouldThrow('gl.uniform1fv()'); | 23 shouldThrow('gl.uniform1fv()'); |
24 shouldThrow('gl.vertexAttrib1fv()'); | 24 shouldThrow('gl.vertexAttrib1fv()'); |
25 </script> | 25 </script> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |