Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / canvas / webgl / webgl-exceptions.html
blobb742c36671fd3a44f1f3386ed50cb1579fc27265
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <script src="resources/webgl-test.js"></script>
6 </head>
7 <body>
8 <script>
9 var gl = create3DContext();
10 shouldThrow('gl.getBufferParameter()');
11 shouldThrow('gl.getRenderbufferParameter()');
12 shouldThrow('gl.getTexParameter()');
13 shouldThrow('gl.getVertexAttrib()');
14 shouldThrow('gl.getAttachedShaders()');
15 shouldThrow('gl.getExtension()');
16 shouldThrow('gl.getFramebufferAttachmentParameter()');
17 shouldThrow('gl.getParameter()');
18 shouldThrow('gl.getProgramParameter()');
19 shouldThrow('gl.getShaderParameter()');
20 shouldThrow('gl.getUniform()');
21 shouldThrow('gl.uniform1iv()');
22 shouldThrow('gl.uniformMatrix2fv()');
23 shouldThrow('gl.uniform1fv()');
24 shouldThrow('gl.vertexAttrib1fv()');
26 shouldThrow('gl.uniformMatrix4fv(1, 1)');
27 </script>
28 </body>
29 </html>