Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / canvas / webgl / null-object-behaviour-expected.txt
1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://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_VALUE.
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_VALUE.
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: Failed to execute 'bindBuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLBuffer'..
19 PASS context.bindFramebuffer(context.FRAMEBUFFER, 0) threw exception TypeError: Failed to execute 'bindFramebuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLFramebuffer'..
20 PASS context.bindRenderbuffer(context.RENDERBUFFER, 0) threw exception TypeError: Failed to execute 'bindRenderbuffer' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLRenderbuffer'..
21 PASS context.bindTexture(context.TEXTURE_2D, 0) threw exception TypeError: Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type '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_ERROR.
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 value: NO_ERROR.
29 PASS context.bindTexture(context.TEXTURE_2D, undefined) was expected value: NO_ERROR.
30 PASS context.framebufferRenderbuffer(context.FRAMEBUFFER, context.DEPTH_ATTACHMENT, 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_VALUE.
39
40 check with bindings
41 PASS context.bufferData(context.ARRAY_BUFFER, 1, context.STATIC_DRAW) was expected value: NO_ERROR.
42 PASS context.getBufferParameter(context.ARRAY_BUFFER, context.BUFFER_SIZE) was expected value: NO_ERROR.
43 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 1, 1, 0, context.RGBA, context.UNSIGNED_BYTE, new Uint8Array([0,0,0,0])) was expected value: NO_ERROR.
44 PASS context.texParameteri(context.TEXTURE_2D, context.TEXTURE_MIN_FILTER, context.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 expected value: INVALID_OPERATION.
49 PASS context.getBufferParameter(context.ARRAY_BUFFER, context.BUFFER_SIZE) was expected value: INVALID_OPERATION.
50 PASS context.texImage2D(context.TEXTURE_2D, 0, context.RGBA, 1, 1, 0, context.RGBA, context.UNSIGNED_BYTE, new Uint8Array([0,0,0,0])) was expected value: INVALID_OPERATION.
51 PASS context.texParameteri(context.TEXTURE_2D, context.TEXTURE_MIN_FILTER, context.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