Auto merge of #16212 - jdm:webgltests, r=metajack

Enable all disabled webgl test directories

These have all been disabled since the initial test import, but our implementation has improved significantly since that time.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16212)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-04-03 09:07:50 -05:00 committed by GitHub
commit e03093e96c
149 changed files with 916 additions and 180 deletions

View file

@ -1,6 +1,5 @@
[serialize-values.html]
type: testharness
[content: url("http://localhost/")]
expected: FAIL

View file

@ -0,0 +1,5 @@
[buffer-offscreen-test.html]
type: testharness
[WebGL test #5: at (0, 0) expected: 0,0,0,0 was 255,0,0,255]
expected: FAIL

View file

@ -0,0 +1,5 @@
[buffer-preserve-test.html]
type: testharness
[WebGL test #3: at (0, 0) expected: 0,0,0,0 was 255,0,0,255]
expected: FAIL

View file

@ -0,0 +1,6 @@
[canvas-test.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[draw-static-webgl-to-multiple-canvas-test.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[draw-webgl-to-canvas-test.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,47 @@
[drawingbuffer-hd-dpi-test.html]
type: testharness
expected: TIMEOUT
[WebGL test #5: at (28, 12) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #8: gl.getError() should be 0. Was 1280.]
expected: FAIL
[WebGL test #12: at 0, 0 expected 0,0,0,255(black) was 0,0,0,0]
expected: FAIL
[WebGL test #13: at (12, 28) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #16: gl.getError() should be 0. Was 1280.]
expected: FAIL
[WebGL test #22: at (124, 60) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #25: gl.getError() should be 0. Was 1280.]
expected: FAIL
[WebGL test #29: at 0, 0 expected 0,0,0,255(black) was 0,0,0,0]
expected: FAIL
[WebGL test #30: at (60, 124) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #33: gl.getError() should be 0. Was 1280.]
expected: FAIL
[WebGL test #39: at (252, 508) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #42: gl.getError() should be 0. Was 1280.]
expected: FAIL
[WebGL test #46: at 0, 0 expected 0,0,0,255(black) was 0,0,0,0]
expected: FAIL
[WebGL test #47: at (508, 252) expected: 0,255,0,255 was 0,0,0,0]
expected: FAIL
[WebGL test #50: gl.getError() should be 0. Was 1280.]
expected: FAIL

View file

@ -0,0 +1,12 @@
[drawingbuffer-static-canvas-test.html]
type: testharness
expected: ERROR
[WebGL test #5: maxSize[0\] > 0 should be true. Threw exception TypeError: maxSize is null]
expected: FAIL
[WebGL test #6: maxSize[1\] > 0 should be true. Threw exception TypeError: maxSize is null]
expected: FAIL
[WebGL test #7: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,3 +1,6 @@
[drawingbuffer-test.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[WebGL test #3: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,3 +0,0 @@
[framebuffer-bindings-unaffected-on-resize.html]
type: testharness
expected: TIMEOUT

View file

@ -1,3 +1,8 @@
[texture-bindings-unaffected-on-resize.html]
type: testharness
expected: TIMEOUT
[WebGL test #3: at (0, 0) expected: 0,255,0,255 was 0,0,0,255]
expected: FAIL
[WebGL test #5: at (0, 0) expected: 0,255,0,255 was 0,0,0,255]
expected: FAIL

View file

@ -1,6 +1,6 @@
[to-data-url-test.html]
type: testharness
expected:
if os == "linux": TIMEOUT
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,6 +1,5 @@
[viewport-unchanged-upon-resize.html]
type: testharness
expected: CRASH
[WebGL test #0: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL
@ -10,3 +9,6 @@
[WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL
[WebGL test #3: at (6, 6) expected: 0,0,255,255 was 255,0,0,255]
expected: FAIL

View file

@ -1,5 +0,0 @@
[constants-and-properties.html]
type: testharness
expected:
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH

View file

@ -1,6 +1,6 @@
[context-attribute-preserve-drawing-buffer.html]
type: testharness
expected:
if os == "linux": TIMEOUT
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -2,6 +2,7 @@
type: testharness
expected:
if os == "mac": CRASH
if os == "linux": TIMEOUT
[WebGL test #0: gl = getWebGL(1, 1, null, [ 0, 0, 0, 0 \], 1, 0) should be non-null. Was null]
expected: FAIL

View file

@ -1,6 +1,6 @@
[context-creation-and-destruction.html]
type: testharness
expected:
if os == "linux": TIMEOUT
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH
expected: TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -1,6 +0,0 @@
[context-creation.html]
type: testharness
expected:
if os == "linux": TIMEOUT
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH

View file

@ -1,10 +0,0 @@
[context-eviction-with-garbage-collection.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #0: program != null should be true. Was false.]
expected: FAIL
[WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,5 +1,12 @@
[context-hidden-alpha.html]
type: testharness
expected:
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH
expected: ERROR
[Overall test]
expected: NOTRUN
[WebGL test #1: gl.getParameter(gl.ALPHA_BITS) should be 0 (of type number). Was null (of type object).]
expected: FAIL
[WebGL test #2: null should be non-null. Was null]
expected: FAIL

View file

@ -1,5 +0,0 @@
[context-lost-restored.html]
type: testharness
expected:
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH

View file

@ -1,7 +1,5 @@
[context-lost.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #0: gl.isContextLost() should be false. Threw exception TypeError: gl.isContextLost is not a function]
expected: FAIL

View file

@ -1,6 +1,6 @@
[context-release-upon-reload.html]
type: testharness
expected:
if os == "linux": TIMEOUT
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH
expected: TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[context-release-with-workers.html]
type: testharness
expected:
if os == "linux": TIMEOUT
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH
expected: TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -1,5 +0,0 @@
[context-type-test.html]
type: testharness
expected:
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH

View file

@ -1,7 +1,5 @@
[incorrect-context-object-behaviour.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #0: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: contextA.compileShader(shaderB)]
expected: FAIL
@ -53,3 +51,12 @@
[WebGL test #21: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: contextA.getUniformLocation(programB, 'u_modelViewProjMatrix')]
expected: FAIL
[WebGL test #13: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: contextA.framebufferRenderbuffer(contextA.FRAMEBUFFER, contextA.DEPTH_ATTACHMENT, contextA.RENDERBUFFER, renderBufferB)]
expected: FAIL
[WebGL test #14: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: contextA.framebufferTexture2D(contextA.FRAMEBUFFER, contextA.COLOR_ATTACHMENT0, contextA.TEXTURE_2D, textureB, 0)]
expected: FAIL
[WebGL test #16: getError expected: INVALID_OPERATION. Was NO_ERROR : after evaluating: contextA.getProgramInfoLog(programB, 0)]
expected: FAIL

View file

@ -1,7 +1,5 @@
[methods.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #1: Property either does not exist or is not a function: copyTexImage2D]
expected: FAIL
@ -281,3 +279,27 @@
[WebGL test #49: Property either does not exist or is not a function: validateProgram]
expected: FAIL
[WebGL test #0: Property either does not exist or is not a function: getAttachedShaders]
expected: FAIL
[WebGL test #1: Property either does not exist or is not a function: getFramebufferAttachmentParameter]
expected: FAIL
[WebGL test #2: Property either does not exist or is not a function: getRenderbufferParameter]
expected: FAIL
[WebGL test #3: Property either does not exist or is not a function: getShaderPrecisionFormat]
expected: FAIL
[WebGL test #4: Property either does not exist or is not a function: getTexParameter]
expected: FAIL
[WebGL test #5: Property either does not exist or is not a function: getUniform]
expected: FAIL
[WebGL test #6: Property either does not exist or is not a function: getVertexAttribOffset]
expected: FAIL
[WebGL test #7: Property either does not exist or is not a function: isContextLost]
expected: FAIL

View file

@ -1,7 +1,6 @@
[premultiplyalpha-test.html]
type: testharness
expected:
if os == "mac": CRASH
expected: ERROR
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
expected: FAIL
@ -11,3 +10,6 @@
[WebGL test #2: gl.getContextAttributes().preserveDrawingBuffer should be true. Threw exception TypeError: gl is null]
expected: FAIL
[Overall test]
expected: NOTRUN

View file

@ -1,7 +1,5 @@
[resource-sharing-test.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #1: attempt to use a resource from the wrong context should fail with INVALID_OPERATION]
expected: FAIL

View file

@ -1 +0,0 @@
disabled: we don't support extensions and these tests are flaking

View file

@ -1,5 +0,0 @@
[angle-instanced-arrays-out-of-bounds.html]
type: testharness
expected:
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH

View file

@ -1,5 +0,0 @@
[angle-instanced-arrays.html]
type: testharness
expected:
if os == "mac": CRASH
if not debug and (os == "mac") and (version == "OS X 10.10.5") and (processor == "x86_64") and (bits == 64) and (backend == "cpu"): CRASH

View file

@ -1,7 +1,5 @@
[ext-blend-minmax.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #1: getError expected: INVALID_ENUM. Was NO_ERROR : after evaluating: gl.blendEquation(MIN_EXT)]
expected: FAIL

View file

@ -1,7 +1,5 @@
[ext-frag-depth.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #1: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,7 +1,5 @@
[ext-sRGB.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
expected: FAIL

View file

@ -1,7 +1,5 @@
[ext-shader-texture-lod.html]
type: testharness
expected:
if os == "mac": CRASH
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
expected: FAIL

View file

@ -1,6 +1,6 @@
[ext-texture-filter-anisotropic.html]
type: testharness
expected: CRASH
expected: ERROR
[WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,3 +0,0 @@
[get-extension.html]
type: testharness
expected: CRASH

View file

@ -1,3 +0,0 @@
[oes-element-index-uint.html]
type: testharness
expected: CRASH

View file

@ -1,6 +1,5 @@
[oes-standard-derivatives.html]
type: testharness
expected: CRASH
[WebGL test #3: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,6 +1,5 @@
[oes-texture-float-linear.html]
type: testharness
expected: CRASH
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
expected: FAIL

View file

@ -1,6 +1,5 @@
[oes-texture-float-with-canvas.html]
type: testharness
expected: CRASH
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
expected: FAIL

View file

@ -1,6 +1,5 @@
[oes-texture-float-with-image-data.html]
type: testharness
expected: CRASH
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
expected: FAIL

View file

@ -1,6 +1,5 @@
[oes-texture-float-with-image.html]
type: testharness
expected: CRASH
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
expected:
if os == "linux": FAIL

View file

@ -1,7 +1,5 @@
[oes-texture-half-float.html]
type: testharness
expected:
if os == "linux": CRASH
[WebGL test #2: successfullyParsed should be true (of type boolean). Was undefined (of type undefined).]
expected: FAIL

View file

@ -1,4 +0,0 @@
[oes-vertex-array-object-bufferData.html]
type: testharness
expected:
if os == "linux": CRASH

View file

@ -1,7 +1,5 @@
[webgl-compressed-texture-atc.html]
type: testharness
expected:
if os == "linux": CRASH
[WebGL test #1: gl.getParameter(gl.COMPRESSED_TEXTURE_FORMATS) should be . Was null.]
expected: FAIL

View file

@ -1 +0,0 @@
disabled: disable glsl for now, tests are flaking

View file

@ -1,3 +0,0 @@
[array-of-struct-with-int-first-position.html]
type: testharness
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[compare-loop-index-to-uniform.html]
type: testharness
expected: TIMEOUT

View file

@ -1,3 +1,6 @@
[constant-precision-qualifier.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,8 @@
[long-expressions-should-not-crash.html]
type: testharness
expected:
if os == "linux": CRASH
if os == "mac": TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -1,3 +0,0 @@
[uniforms-should-not-lose-values.html]
type: testharness
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[glsl-construct-bvec2.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-bvec3.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-bvec4.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-ivec2.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-ivec3.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-ivec4.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-mat2.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-mat3.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-mat4.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-vec2.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-vec3.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-construct-vec4.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-abs.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-acos.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-asin.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-atan-xy.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-atan.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-ceil.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-clamp-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-clamp-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-cos.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-cross.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-distance.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-dot.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-faceforward.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-floor.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-fract.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-length.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-max-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-max-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-min-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-min-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-mix-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-mix-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-mod-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-mod-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-normalize.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-reflect.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-sign.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-sin.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -1,3 +1,6 @@
[glsl-function-smoothstep-float.html]
type: testharness
expected: CRASH
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-smoothstep-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-step-float.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function-step-gentype.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

View file

@ -0,0 +1,6 @@
[glsl-function.html]
type: testharness
expected: ERROR
[Overall test]
expected: NOTRUN

Some files were not shown because too many files have changed in this diff Show more