Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: LayoutTests/fast/canvas/webgl/bad-arguments-test-expected.txt

Issue 121113004: Improve handling of failed integer type conversions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/webgl/gl-object-get-calls-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests calling WebGL APIs with wrong argument types 1 Tests calling WebGL APIs with wrong argument types
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 PASS Program Compiled 5 PASS Program Compiled
6 PASS Shader Compiled 6 PASS Shader Compiled
7 PASS getUniformLocation succeeded 7 PASS getUniformLocation succeeded
8 PASS context.compileShader(argument) threw exception TypeError: Failed to execut e 'compileShader' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLS hader'.. 8 PASS context.compileShader(argument) threw exception TypeError: Failed to execut e 'compileShader' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLS hader'..
9 PASS context.linkProgram(argument) threw exception TypeError: Failed to execute 'linkProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgr am'.. 9 PASS context.linkProgram(argument) threw exception TypeError: Failed to execute 'linkProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgr am'..
10 PASS context.attachShader(program, argument) threw exception TypeError: Failed t o execute 'attachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader'.. 10 PASS context.attachShader(program, argument) threw exception TypeError: Failed t o execute 'attachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader'..
11 PASS context.attachShader(argument, shader) threw exception TypeError: Failed to execute 'attachShader' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLProgram'.. 11 PASS context.attachShader(argument, shader) threw exception TypeError: Failed to execute 'attachShader' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLProgram'..
12 PASS context.detachShader(program, argument) threw exception TypeError: Failed t o execute 'detachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader'.. 12 PASS context.detachShader(program, argument) threw exception TypeError: Failed t o execute 'detachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader'..
13 PASS context.detachShader(argument, shader) threw exception TypeError: Failed to execute 'detachShader' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLProgram'.. 13 PASS context.detachShader(argument, shader) threw exception TypeError: Failed to execute 'detachShader' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLProgram'..
14 PASS context.useProgram(argument) threw exception TypeError: Failed to execute ' useProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram '.. 14 PASS context.useProgram(argument) threw exception TypeError: Failed to execute ' useProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram '..
15 PASS context.shaderSource(argument, 'foo') threw exception TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'W ebGLShader'.. 15 PASS context.shaderSource(argument, 'foo') threw exception TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'W ebGLShader'..
16 PASS context.bindAttribLocation(argument, 0, 'foo') threw exception TypeError: F ailed to execute 'bindAttribLocation' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'.. 16 PASS context.bindAttribLocation(argument, 0, 'foo') threw exception TypeError: F ailed to execute 'bindAttribLocation' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'..
17 PASS context.bindBuffer(context.ARRAY_BUFFER, argument) threw exception TypeErro r: Failed to execute 'bindBuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLBuffer'.. 17 PASS context.bindBuffer(context.ARRAY_BUFFER, argument) threw exception TypeErro r: Failed to execute 'bindBuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLBuffer'..
18 PASS context.bindFramebuffer(context.FRAMEBUFFER, argument) threw exception Type Error: Failed to execute 'bindFramebuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLFramebuffer'.. 18 PASS context.bindFramebuffer(context.FRAMEBUFFER, argument) threw exception Type Error: Failed to execute 'bindFramebuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLFramebuffer'..
19 PASS context.bindRenderbuffer(context.RENDERBUFFER, argument) threw exception Ty peError: Failed to execute 'bindRenderbuffer' on 'WebGLRenderingContext': parame ter 2 is not of type 'WebGLRenderbuffer'.. 19 PASS context.bindRenderbuffer(context.RENDERBUFFER, argument) threw exception Ty peError: Failed to execute 'bindRenderbuffer' on 'WebGLRenderingContext': parame ter 2 is not of type 'WebGLRenderbuffer'..
20 PASS context.bindTexture(context.TEXTURE_2D, argument) threw exception TypeError : Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLTexture'.. 20 PASS context.bindTexture(context.TEXTURE_2D, argument) threw exception TypeError : Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLTexture'..
21 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'.. 21 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'..
22 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'.. 22 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'..
23 PASS context.uniform2fv(argument, new Float32Array([0.0, 0.0])) threw exception TypeError: Type error. 23 PASS context.uniform2fv(argument, new Float32Array([0.0, 0.0])) threw exception TypeError: Failed to execute 'uniform2fv' on 'WebGLRenderingContext': The 1st ar gument is not a WebGLUniformLocation object..
24 PASS context.uniform2iv(argument, new Int32Array([0, 0])) threw exception TypeEr ror: Type error. 24 PASS context.uniform2iv(argument, new Int32Array([0, 0])) threw exception TypeEr ror: Failed to execute 'uniform2iv' on 'WebGLRenderingContext': The 1st argument is not a WebGLUniformLocation object..
25 PASS context.uniformMatrix2fv(argument, false, new Float32Array([0.0, 0.0, 0.0, 0.0])) threw exception TypeError: Type error. 25 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': The 1st argument is not a WebGLUniformLocation object..
26 PASS context.getProgramParameter(argument, 0) threw exception TypeError: Type er ror. 26 PASS context.getProgramParameter(argument, 0) threw exception TypeError: Failed to execute 'getProgramParameter' on 'WebGLRenderingContext': The 1st argument is not a WebGLProgram object..
27 PASS context.getShaderParameter(argument, 0) threw exception TypeError: Type err or. 27 PASS context.getShaderParameter(argument, 0) threw exception TypeError: Failed t o execute 'getShaderParameter' on 'WebGLRenderingContext': The 1st argument is n ot a WebGLShader object..
28 PASS context.getUniform(argument, loc) threw exception TypeError: Type error. 28 PASS context.getUniform(argument, loc) threw exception TypeError: Failed to exec ute 'getUniform' on 'WebGLRenderingContext': The 1st argument is not a WebGLProg ram object..
29 PASS context.getUniform(program, argument) threw exception TypeError: Type error . 29 PASS context.getUniform(program, argument) threw exception TypeError: Failed to execute 'getUniform' on 'WebGLRenderingContext': The 2nd argument is not a WebGL UniformLocation object..
30 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') threw excepti on TypeError: Failed to execute 'getUniformLocation' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'.. 30 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') threw excepti on TypeError: Failed to execute 'getUniformLocation' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'..
31 PASS context.getProgramInfoLog(argument) threw exception TypeError: Failed to ex ecute 'getProgramInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'.. 31 PASS context.getProgramInfoLog(argument) threw exception TypeError: Failed to ex ecute 'getProgramInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'..
32 PASS context.getShaderInfoLog(argument) threw exception TypeError: Failed to exe cute 'getShaderInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLShader'.. 32 PASS context.getShaderInfoLog(argument) threw exception TypeError: Failed to exe cute 'getShaderInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLShader'..
33 PASS context.getShaderSource(argument) threw exception TypeError: Failed to exec ute 'getShaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'We bGLShader'.. 33 PASS context.getShaderSource(argument) threw exception TypeError: Failed to exec ute 'getShaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'We bGLShader'..
34 PASS context.compileShader(argument) threw exception TypeError: Failed to execut e 'compileShader' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLS hader'.. 34 PASS context.compileShader(argument) threw exception TypeError: Failed to execut e 'compileShader' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLS hader'..
35 PASS context.linkProgram(argument) threw exception TypeError: Failed to execute 'linkProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgr am'.. 35 PASS context.linkProgram(argument) threw exception TypeError: Failed to execute 'linkProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgr am'..
36 PASS context.attachShader(program, argument) threw exception TypeError: Failed t o execute 'attachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader'.. 36 PASS context.attachShader(program, argument) threw exception TypeError: Failed t o execute 'attachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader'..
37 PASS context.attachShader(argument, shader) threw exception TypeError: Failed to execute 'attachShader' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLProgram'.. 37 PASS context.attachShader(argument, shader) threw exception TypeError: Failed to execute 'attachShader' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLProgram'..
38 PASS context.detachShader(program, argument) threw exception TypeError: Failed t o execute 'detachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader'.. 38 PASS context.detachShader(program, argument) threw exception TypeError: Failed t o execute 'detachShader' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLShader'..
39 PASS context.detachShader(argument, shader) threw exception TypeError: Failed to execute 'detachShader' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLProgram'.. 39 PASS context.detachShader(argument, shader) threw exception TypeError: Failed to execute 'detachShader' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLProgram'..
40 PASS context.useProgram(argument) threw exception TypeError: Failed to execute ' useProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram '.. 40 PASS context.useProgram(argument) threw exception TypeError: Failed to execute ' useProgram' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram '..
41 PASS context.shaderSource(argument, 'foo') threw exception TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'W ebGLShader'.. 41 PASS context.shaderSource(argument, 'foo') threw exception TypeError: Failed to execute 'shaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'W ebGLShader'..
42 PASS context.bindAttribLocation(argument, 0, 'foo') threw exception TypeError: F ailed to execute 'bindAttribLocation' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'.. 42 PASS context.bindAttribLocation(argument, 0, 'foo') threw exception TypeError: F ailed to execute 'bindAttribLocation' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'..
43 PASS context.bindBuffer(context.ARRAY_BUFFER, argument) threw exception TypeErro r: Failed to execute 'bindBuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLBuffer'.. 43 PASS context.bindBuffer(context.ARRAY_BUFFER, argument) threw exception TypeErro r: Failed to execute 'bindBuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLBuffer'..
44 PASS context.bindFramebuffer(context.FRAMEBUFFER, argument) threw exception Type Error: Failed to execute 'bindFramebuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLFramebuffer'.. 44 PASS context.bindFramebuffer(context.FRAMEBUFFER, argument) threw exception Type Error: Failed to execute 'bindFramebuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLFramebuffer'..
45 PASS context.bindRenderbuffer(context.RENDERBUFFER, argument) threw exception Ty peError: Failed to execute 'bindRenderbuffer' on 'WebGLRenderingContext': parame ter 2 is not of type 'WebGLRenderbuffer'.. 45 PASS context.bindRenderbuffer(context.RENDERBUFFER, argument) threw exception Ty peError: Failed to execute 'bindRenderbuffer' on 'WebGLRenderingContext': parame ter 2 is not of type 'WebGLRenderbuffer'..
46 PASS context.bindTexture(context.TEXTURE_2D, argument) threw exception TypeError : Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLTexture'.. 46 PASS context.bindTexture(context.TEXTURE_2D, argument) threw exception TypeError : Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLTexture'..
47 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'.. 47 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'..
48 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'.. 48 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'..
49 PASS context.uniform2fv(argument, new Float32Array([0.0, 0.0])) threw exception TypeError: Type error. 49 PASS context.uniform2fv(argument, new Float32Array([0.0, 0.0])) threw exception TypeError: Failed to execute 'uniform2fv' on 'WebGLRenderingContext': The 1st ar gument is not a WebGLUniformLocation object..
50 PASS context.uniform2iv(argument, new Int32Array([0, 0])) threw exception TypeEr ror: Type error. 50 PASS context.uniform2iv(argument, new Int32Array([0, 0])) threw exception TypeEr ror: Failed to execute 'uniform2iv' on 'WebGLRenderingContext': The 1st argument is not a WebGLUniformLocation object..
51 PASS context.uniformMatrix2fv(argument, false, new Float32Array([0.0, 0.0, 0.0, 0.0])) threw exception TypeError: Type error. 51 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': The 1st argument is not a WebGLUniformLocation object..
52 PASS context.getProgramParameter(argument, 0) threw exception TypeError: Type er ror. 52 PASS context.getProgramParameter(argument, 0) threw exception TypeError: Failed to execute 'getProgramParameter' on 'WebGLRenderingContext': The 1st argument is not a WebGLProgram object..
53 PASS context.getShaderParameter(argument, 0) threw exception TypeError: Type err or. 53 PASS context.getShaderParameter(argument, 0) threw exception TypeError: Failed t o execute 'getShaderParameter' on 'WebGLRenderingContext': The 1st argument is n ot a WebGLShader object..
54 PASS context.getUniform(argument, loc) threw exception TypeError: Type error. 54 PASS context.getUniform(argument, loc) threw exception TypeError: Failed to exec ute 'getUniform' on 'WebGLRenderingContext': The 1st argument is not a WebGLProg ram object..
55 PASS context.getUniform(program, argument) threw exception TypeError: Type error . 55 PASS context.getUniform(program, argument) threw exception TypeError: Failed to execute 'getUniform' on 'WebGLRenderingContext': The 2nd argument is not a WebGL UniformLocation object..
56 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') threw excepti on TypeError: Failed to execute 'getUniformLocation' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'.. 56 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') threw excepti on TypeError: Failed to execute 'getUniformLocation' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'..
57 PASS context.getProgramInfoLog(argument) threw exception TypeError: Failed to ex ecute 'getProgramInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'.. 57 PASS context.getProgramInfoLog(argument) threw exception TypeError: Failed to ex ecute 'getProgramInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type 'WebGLProgram'..
58 PASS context.getShaderInfoLog(argument) threw exception TypeError: Failed to exe cute 'getShaderInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLShader'.. 58 PASS context.getShaderInfoLog(argument) threw exception TypeError: Failed to exe cute 'getShaderInfoLog' on 'WebGLRenderingContext': parameter 1 is not of type ' WebGLShader'..
59 PASS context.getShaderSource(argument) threw exception TypeError: Failed to exec ute 'getShaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'We bGLShader'.. 59 PASS context.getShaderSource(argument) threw exception TypeError: Failed to exec ute 'getShaderSource' on 'WebGLRenderingContext': parameter 1 is not of type 'We bGLShader'..
60 PASS context.compileShader(argument) is undefined. 60 PASS context.compileShader(argument) is undefined.
61 PASS context.linkProgram(argument) is undefined. 61 PASS context.linkProgram(argument) is undefined.
62 PASS context.attachShader(program, argument) is undefined. 62 PASS context.attachShader(program, argument) is undefined.
63 PASS context.attachShader(argument, shader) is undefined. 63 PASS context.attachShader(argument, shader) is undefined.
64 PASS context.detachShader(program, argument) is undefined. 64 PASS context.detachShader(program, argument) is undefined.
65 PASS context.detachShader(argument, shader) is undefined. 65 PASS context.detachShader(argument, shader) is undefined.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 PASS context.getUniform(argument, loc) is null 106 PASS context.getUniform(argument, loc) is null
107 PASS context.getUniform(program, argument) is null 107 PASS context.getUniform(program, argument) is null
108 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') is null 108 PASS context.getUniformLocation(argument, 'u_modelViewProjMatrix') is null
109 PASS context.getProgramInfoLog(argument) is '' 109 PASS context.getProgramInfoLog(argument) is ''
110 PASS context.getShaderInfoLog(argument) is '' 110 PASS context.getShaderInfoLog(argument) is ''
111 PASS context.getShaderSource(argument) is '' 111 PASS context.getShaderSource(argument) is ''
112 PASS successfullyParsed is true 112 PASS successfullyParsed is true
113 113
114 TEST COMPLETE 114 TEST COMPLETE
115 115
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/canvas/webgl/gl-object-get-calls-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698