OLD | NEW |
| (Empty) |
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec
ause of its detrimental effects to the end user's experience. For more help, che
ck https://xhr.spec.whatwg.org/. | |
2 Tests calling WebGL APIs with wrong argument types | |
3 | |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
5 | |
6 PASS Program Compiled | |
7 PASS Shader Compiled | |
8 PASS getUniformLocation succeeded | |
9 PASS context.compileShader(argument) threw exception TypeError: Failed to execut
e 'compileShader' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLS
hader'.. | |
10 PASS context.linkProgram(argument) threw exception TypeError: Failed to execute
'linkProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgr
am'.. | |
11 PASS context.attachShader(program, argument) threw exception TypeError: Failed t
o execute 'attachShader' on 'WebGLRenderingContext': parameter 2 is not of type
'WebGLShader'.. | |
12 PASS context.attachShader(argument, shader) threw exception TypeError: Failed to
execute 'attachShader' on 'WebGLRenderingContext': parameter 1 is not of type '
WebGLProgram'.. | |
13 PASS context.detachShader(program, argument) threw exception TypeError: Failed t
o execute 'detachShader' on 'WebGLRenderingContext': parameter 2 is not of type
'WebGLShader'.. | |
14 PASS context.detachShader(argument, shader) threw exception TypeError: Failed to
execute 'detachShader' on 'WebGLRenderingContext': parameter 1 is not of type '
WebGLProgram'.. | |
15 PASS context.useProgram(argument) threw exception TypeError: Failed to execute '
useProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram
'.. | |
16 PASS context.shaderSource(argument, 'foo') threw exception TypeError: Failed to
execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'W
ebGLShader'.. | |
17 PASS context.bindAttribLocation(argument, 0, 'foo') threw exception TypeError: F
ailed to execute 'bindAttribLocation' on 'WebGLRenderingContext': parameter 1 is
not of type 'WebGLProgram'.. | |
18 PASS context.bindBuffer(context.ARRAY_BUFFER, argument) threw exception TypeErro
r: Failed to execute 'bindBuffer' on 'WebGLRenderingContext': parameter 2 is not
of type 'WebGLBuffer'.. | |
19 PASS context.bindFramebuffer(context.FRAMEBUFFER, argument) threw exception Type
Error: Failed to execute 'bindFramebuffer' on 'WebGLRenderingContext': parameter
2 is not of type 'WebGLFramebuffer'.. | |
20 PASS context.bindRenderbuffer(context.RENDERBUFFER, argument) threw exception Ty
peError: Failed to execute 'bindRenderbuffer' on 'WebGLRenderingContext': parame
ter 2 is not of type 'WebGLRenderbuffer'.. | |
21 PASS context.bindTexture(context.TEXTURE_2D, argument) threw exception TypeError
: Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not
of type 'WebGLTexture'.. | |
22 PASS context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHME
NT, context.RENDERBUFFER, argument) threw exception TypeError: Failed to execute
'framebufferRenderbuffer' on 'WebGLRenderingContext': parameter 4 is not of typ
e 'WebGLRenderbuffer'.. | |
23 PASS context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0
, context.TEXTURE_2D, argument, 0) threw exception TypeError: Failed to execute
'framebufferTexture2D' on 'WebGLRenderingContext': parameter 4 is not of type 'W
ebGLTexture'.. | |
24 PASS context.uniform2fv(argument, new Float32Array([0.0, 0.0])) threw exception
TypeError: Failed to execute 'uniform2fv' on 'WebGLRenderingContext': parameter
1 is not of type 'WebGLUniformLocation'.. | |
25 PASS context.uniform2iv(argument, new Int32Array([0, 0])) threw exception TypeEr
ror: Failed to execute 'uniform2iv' on 'WebGLRenderingContext': parameter 1 is n
ot of type 'WebGLUniformLocation'.. | |
26 PASS context.uniformMatrix2fv(argument, false, new Float32Array([0.0, 0.0, 0.0,
0.0])) threw exception TypeError: Failed to execute 'uniformMatrix2fv' on 'WebGL
RenderingContext': parameter 1 is not of type 'WebGLUniformLocation'.. | |
27 PASS context.getProgramInfoLog(argument) threw exception TypeError: Failed to ex
ecute 'getProgramInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type
'WebGLProgram'.. | |
28 PASS context.getProgramParameter(argument, 0) threw exception TypeError: Failed
to execute 'getProgramParameter' on 'WebGLRenderingContext': parameter 1 is not
of type 'WebGLProgram'.. | |
29 PASS context.getShaderInfoLog(argument) threw exception TypeError: Failed to exe
cute 'getShaderInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type '
WebGLShader'.. | |
30 PASS context.getShaderParameter(argument, 0) threw exception TypeError: Failed t
o execute 'getShaderParameter' on 'WebGLRenderingContext': parameter 1 is not of
type 'WebGLShader'.. | |
31 PASS context.getShaderSource(argument) threw exception TypeError: Failed to exec
ute 'getShaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'We
bGLShader'.. | |
32 PASS context.getUniform(argument, loc) threw exception TypeError: Failed to exec
ute 'getUniform' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLPr
ogram'.. | |
33 PASS context.getUniform(program, argument) threw exception TypeError: Failed to
execute 'getUniform' on 'WebGLRenderingContext': parameter 2 is not of type 'Web
GLUniformLocation'.. | |
34 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') threw excepti
on TypeError: Failed to execute 'getUniformLocation' on 'WebGLRenderingContext':
parameter 1 is not of type 'WebGLProgram'.. | |
35 PASS context.compileShader(argument) threw exception TypeError: Failed to execut
e 'compileShader' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLS
hader'.. | |
36 PASS context.linkProgram(argument) threw exception TypeError: Failed to execute
'linkProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgr
am'.. | |
37 PASS context.attachShader(program, argument) threw exception TypeError: Failed t
o execute 'attachShader' on 'WebGLRenderingContext': parameter 2 is not of type
'WebGLShader'.. | |
38 PASS context.attachShader(argument, shader) threw exception TypeError: Failed to
execute 'attachShader' on 'WebGLRenderingContext': parameter 1 is not of type '
WebGLProgram'.. | |
39 PASS context.detachShader(program, argument) threw exception TypeError: Failed t
o execute 'detachShader' on 'WebGLRenderingContext': parameter 2 is not of type
'WebGLShader'.. | |
40 PASS context.detachShader(argument, shader) threw exception TypeError: Failed to
execute 'detachShader' on 'WebGLRenderingContext': parameter 1 is not of type '
WebGLProgram'.. | |
41 PASS context.useProgram(argument) threw exception TypeError: Failed to execute '
useProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram
'.. | |
42 PASS context.shaderSource(argument, 'foo') threw exception TypeError: Failed to
execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'W
ebGLShader'.. | |
43 PASS context.bindAttribLocation(argument, 0, 'foo') threw exception TypeError: F
ailed to execute 'bindAttribLocation' on 'WebGLRenderingContext': parameter 1 is
not of type 'WebGLProgram'.. | |
44 PASS context.bindBuffer(context.ARRAY_BUFFER, argument) threw exception TypeErro
r: Failed to execute 'bindBuffer' on 'WebGLRenderingContext': parameter 2 is not
of type 'WebGLBuffer'.. | |
45 PASS context.bindFramebuffer(context.FRAMEBUFFER, argument) threw exception Type
Error: Failed to execute 'bindFramebuffer' on 'WebGLRenderingContext': parameter
2 is not of type 'WebGLFramebuffer'.. | |
46 PASS context.bindRenderbuffer(context.RENDERBUFFER, argument) threw exception Ty
peError: Failed to execute 'bindRenderbuffer' on 'WebGLRenderingContext': parame
ter 2 is not of type 'WebGLRenderbuffer'.. | |
47 PASS context.bindTexture(context.TEXTURE_2D, argument) threw exception TypeError
: Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not
of type 'WebGLTexture'.. | |
48 PASS context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHME
NT, context.RENDERBUFFER, argument) threw exception TypeError: Failed to execute
'framebufferRenderbuffer' on 'WebGLRenderingContext': parameter 4 is not of typ
e 'WebGLRenderbuffer'.. | |
49 PASS context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0
, context.TEXTURE_2D, argument, 0) threw exception TypeError: Failed to execute
'framebufferTexture2D' on 'WebGLRenderingContext': parameter 4 is not of type 'W
ebGLTexture'.. | |
50 PASS context.uniform2fv(argument, new Float32Array([0.0, 0.0])) threw exception
TypeError: Failed to execute 'uniform2fv' on 'WebGLRenderingContext': parameter
1 is not of type 'WebGLUniformLocation'.. | |
51 PASS context.uniform2iv(argument, new Int32Array([0, 0])) threw exception TypeEr
ror: Failed to execute 'uniform2iv' on 'WebGLRenderingContext': parameter 1 is n
ot of type 'WebGLUniformLocation'.. | |
52 PASS context.uniformMatrix2fv(argument, false, new Float32Array([0.0, 0.0, 0.0,
0.0])) threw exception TypeError: Failed to execute 'uniformMatrix2fv' on 'WebGL
RenderingContext': parameter 1 is not of type 'WebGLUniformLocation'.. | |
53 PASS context.getProgramInfoLog(argument) threw exception TypeError: Failed to ex
ecute 'getProgramInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type
'WebGLProgram'.. | |
54 PASS context.getProgramParameter(argument, 0) threw exception TypeError: Failed
to execute 'getProgramParameter' on 'WebGLRenderingContext': parameter 1 is not
of type 'WebGLProgram'.. | |
55 PASS context.getShaderInfoLog(argument) threw exception TypeError: Failed to exe
cute 'getShaderInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type '
WebGLShader'.. | |
56 PASS context.getShaderParameter(argument, 0) threw exception TypeError: Failed t
o execute 'getShaderParameter' on 'WebGLRenderingContext': parameter 1 is not of
type 'WebGLShader'.. | |
57 PASS context.getShaderSource(argument) threw exception TypeError: Failed to exec
ute 'getShaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'We
bGLShader'.. | |
58 PASS context.getUniform(argument, loc) threw exception TypeError: Failed to exec
ute 'getUniform' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLPr
ogram'.. | |
59 PASS context.getUniform(program, argument) threw exception TypeError: Failed to
execute 'getUniform' on 'WebGLRenderingContext': parameter 2 is not of type 'Web
GLUniformLocation'.. | |
60 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') threw excepti
on TypeError: Failed to execute 'getUniformLocation' on 'WebGLRenderingContext':
parameter 1 is not of type 'WebGLProgram'.. | |
61 PASS context.compileShader(argument) is undefined. | |
62 PASS context.linkProgram(argument) is undefined. | |
63 PASS context.attachShader(program, argument) is undefined. | |
64 PASS context.attachShader(argument, shader) is undefined. | |
65 PASS context.detachShader(program, argument) is undefined. | |
66 PASS context.detachShader(argument, shader) is undefined. | |
67 PASS context.useProgram(argument) is undefined. | |
68 PASS context.shaderSource(argument, 'foo') is undefined. | |
69 PASS context.bindAttribLocation(argument, 0, 'foo') is undefined. | |
70 PASS context.bindBuffer(context.ARRAY_BUFFER, argument) is undefined. | |
71 PASS context.bindFramebuffer(context.FRAMEBUFFER, argument) is undefined. | |
72 PASS context.bindRenderbuffer(context.RENDERBUFFER, argument) is undefined. | |
73 PASS context.bindTexture(context.TEXTURE_2D, argument) is undefined. | |
74 PASS context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHME
NT, context.RENDERBUFFER, argument) is undefined. | |
75 PASS context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0
, context.TEXTURE_2D, argument, 0) is undefined. | |
76 PASS context.uniform2fv(argument, new Float32Array([0.0, 0.0])) is undefined. | |
77 PASS context.uniform2iv(argument, new Int32Array([0, 0])) is undefined. | |
78 PASS context.uniformMatrix2fv(argument, false, new Float32Array([0.0, 0.0, 0.0,
0.0])) is undefined. | |
79 PASS context.getProgramInfoLog(argument) is null | |
80 PASS context.getProgramParameter(argument, 0) is null | |
81 PASS context.getShaderInfoLog(argument) is null | |
82 PASS context.getShaderParameter(argument, 0) is null | |
83 PASS context.getShaderSource(argument) is null | |
84 PASS context.getUniform(argument, loc) is null | |
85 PASS context.getUniform(program, argument) is null | |
86 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') is null | |
87 PASS context.compileShader(argument) is undefined. | |
88 PASS context.linkProgram(argument) is undefined. | |
89 PASS context.attachShader(program, argument) is undefined. | |
90 PASS context.attachShader(argument, shader) is undefined. | |
91 PASS context.detachShader(program, argument) is undefined. | |
92 PASS context.detachShader(argument, shader) is undefined. | |
93 PASS context.useProgram(argument) is undefined. | |
94 PASS context.shaderSource(argument, 'foo') is undefined. | |
95 PASS context.bindAttribLocation(argument, 0, 'foo') is undefined. | |
96 PASS context.bindBuffer(context.ARRAY_BUFFER, argument) is undefined. | |
97 PASS context.bindFramebuffer(context.FRAMEBUFFER, argument) is undefined. | |
98 PASS context.bindRenderbuffer(context.RENDERBUFFER, argument) is undefined. | |
99 PASS context.bindTexture(context.TEXTURE_2D, argument) is undefined. | |
100 PASS context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHME
NT, context.RENDERBUFFER, argument) is undefined. | |
101 PASS context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0
, context.TEXTURE_2D, argument, 0) is undefined. | |
102 PASS context.uniform2fv(argument, new Float32Array([0.0, 0.0])) is undefined. | |
103 PASS context.uniform2iv(argument, new Int32Array([0, 0])) is undefined. | |
104 PASS context.uniformMatrix2fv(argument, false, new Float32Array([0.0, 0.0, 0.0,
0.0])) is undefined. | |
105 PASS context.getProgramInfoLog(argument) is null | |
106 PASS context.getProgramParameter(argument, 0) is null | |
107 PASS context.getShaderInfoLog(argument) is null | |
108 PASS context.getShaderParameter(argument, 0) is null | |
109 PASS context.getShaderSource(argument) is null | |
110 PASS context.getUniform(argument, loc) is null | |
111 PASS context.getUniform(program, argument) is null | |
112 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') is null | |
113 PASS successfullyParsed is true | |
114 | |
115 TEST COMPLETE | |
116 | |
OLD | NEW |