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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/null-object-behaviour-expected.txt

Issue 1601093008: Remove duplicated WebGL layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
(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 without providing the necessary objects
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 context.compileShader(undefined) was expected value: INVALID_VALUE.
9 PASS context.linkProgram(undefined) was expected value: INVALID_VALUE.
10 PASS context.attachShader(undefined, undefined) was expected value: INVALID_VALU E.
11 PASS context.attachShader(program, undefined) was expected value: INVALID_VALUE.
12 PASS context.attachShader(undefined, shader) was expected value: INVALID_VALUE.
13 PASS context.detachShader(program, undefined) was expected value: INVALID_VALUE.
14 PASS context.detachShader(undefined, shader) was expected value: INVALID_VALUE.
15 PASS context.shaderSource(undefined, undefined) was expected value: INVALID_VALU E.
16 PASS context.shaderSource(undefined, 'foo') was expected value: INVALID_VALUE.
17 PASS context.bindAttribLocation(undefined, 0, 'foo') was expected value: INVALID _VALUE.
18 PASS context.bindBuffer(context.ARRAY_BUFFER, 0) threw exception TypeError: Fail ed to execute 'bindBuffer' on 'WebGLRenderingContext': parameter 2 is not of typ e 'WebGLBuffer'..
19 PASS context.bindFramebuffer(context.FRAMEBUFFER, 0) threw exception TypeError: Failed to execute 'bindFramebuffer' on 'WebGLRenderingContext': parameter 2 is n ot of type 'WebGLFramebuffer'..
20 PASS context.bindRenderbuffer(context.RENDERBUFFER, 0) threw exception TypeError : Failed to execute 'bindRenderbuffer' on 'WebGLRenderingContext': parameter 2 i s not of type 'WebGLRenderbuffer'..
21 PASS context.bindTexture(context.TEXTURE_2D, 0) threw exception TypeError: Faile d to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of typ e 'WebGLTexture'..
22 PASS context.bindBuffer(context.ARRAY_BUFFER, null) was expected value: NO_ERROR .
23 PASS context.bindFramebuffer(context.FRAMEBUFFER, null) was expected value: NO_E RROR.
24 PASS context.bindRenderbuffer(context.RENDERBUFFER, null) was expected value: NO _ERROR.
25 PASS context.bindTexture(context.TEXTURE_2D, null) was expected value: NO_ERROR.
26 PASS context.bindBuffer(context.ARRAY_BUFFER, undefined) was expected value: NO_ ERROR.
27 PASS context.bindFramebuffer(context.FRAMEBUFFER, undefined) was expected value: NO_ERROR.
28 PASS context.bindRenderbuffer(context.RENDERBUFFER, undefined) was expected valu e: NO_ERROR.
29 PASS context.bindTexture(context.TEXTURE_2D, undefined) was expected value: NO_E RROR.
30 PASS context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHME NT, context.RENDERBUFFER, null) was expected value: INVALID_OPERATION.
31 PASS context.framebufferTexture2D(context.FRAMEBUFFER, context.COLOR_ATTACHMENT0 , context.TEXTURE_2D, null, 0) was expected value: INVALID_OPERATION.
32 PASS context.getProgramParameter(undefined, 0) was expected value: INVALID_VALUE .
33 PASS context.getProgramInfoLog(undefined, 0) was expected value: INVALID_VALUE.
34 PASS context.getShaderParameter(undefined, 0) was expected value: INVALID_VALUE.
35 PASS context.getShaderInfoLog(undefined, 0) was expected value: INVALID_VALUE.
36 PASS context.getShaderSource(undefined) was expected value: INVALID_VALUE.
37 PASS context.getUniform(undefined, null) was expected value: INVALID_VALUE.
38 PASS context.getUniformLocation(undefined, 'foo') was expected value: INVALID_VA LUE.
39
40 check with bindings
41 PASS context.bufferData(context.ARRAY_BUFFER, 1, context.STATIC_DRAW) was expect ed value: NO_ERROR.
42 PASS context.getBufferParameter(context.ARRAY_BUFFER, context.BUFFER_SIZE) was e xpected value: NO_ERROR.
43 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 1, 1, 0, context.RG BA, context.UNSIGNED_BYTE, new Uint8Array([0,0,0,0])) was expected value: NO_ERR OR.
44 PASS context.texParameteri(context.TEXTURE_2D, context.TEXTURE_MIN_FILTER, conte xt.NEAREST) was expected value: NO_ERROR.
45 PASS context.getTexParameter(context.TEXTURE_2D, context.TEXTURE_MIN_FILTER) was expected value: NO_ERROR.
46
47 check without bindings
48 PASS context.bufferData(context.ARRAY_BUFFER, 1, context.STATIC_DRAW) was expect ed value: INVALID_OPERATION.
49 PASS context.getBufferParameter(context.ARRAY_BUFFER, context.BUFFER_SIZE) was e xpected value: INVALID_OPERATION.
50 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 1, 1, 0, context.RG BA, context.UNSIGNED_BYTE, new Uint8Array([0,0,0,0])) was expected value: INVALI D_OPERATION.
51 PASS context.texParameteri(context.TEXTURE_2D, context.TEXTURE_MIN_FILTER, conte xt.NEAREST) was expected value: INVALID_OPERATION.
52 PASS context.getTexParameter(context.TEXTURE_2D, context.TEXTURE_MIN_FILTER) was expected value: INVALID_OPERATION.
53 PASS successfullyParsed is true
54
55 TEST COMPLETE
56
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698