3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 Tests that instanceof works on WebGL objects.
7 PASS gl instanceof WebGLRenderingContext is true
8 PASS gl.createBuffer() instanceof WebGLBuffer is true
9 PASS gl.createFramebuffer() instanceof WebGLFramebuffer is true
10 PASS gl.createProgram() instanceof WebGLProgram is true
11 PASS gl.createRenderbuffer() instanceof WebGLRenderbuffer is true
12 PASS gl.createShader(gl.VERTEX_SHADER) instanceof WebGLShader is true
13 PASS gl.createTexture() instanceof WebGLTexture is true
14 PASS gl.getUniformLocation(program, "color") instanceof WebGLUniformLocation is true
15 PASS gl.getActiveAttrib(program, 0) instanceof WebGLActiveInfo is true
16 PASS gl.getActiveUniform(program, 0) instanceof WebGLActiveInfo is true
18 Tests that those WebGL objects can not be constructed through new operator
20 PASS new WebGLRenderingContext threw an error
21 PASS new WebGLActiveInfo threw an error
22 PASS new WebGLBuffer threw an error
23 PASS new WebGLFramebuffer threw an error
24 PASS new WebGLProgram threw an error
25 PASS new WebGLRenderbuffer threw an error
26 PASS new WebGLShader threw an error
27 PASS new WebGLTexture threw an error
28 PASS new WebGLUniformLocation threw an error
29 PASS new WebGLShaderPrecisionFormat threw an error
30 PASS successfullyParsed is true