Enable the context and canvas webgl tests.

This commit is contained in:
Josh Matthews 2017-03-31 18:32:06 -04:00
parent 54e2b7b2d5
commit 937855c3fd
36 changed files with 177 additions and 67 deletions

View file

@ -2,3 +2,4 @@
type: testharness
[ImageData does not have a usable constructor]
expected: FAIL

View file

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

View file

@ -8,3 +8,4 @@
[label-with-meter.form]
expected: FAIL

View file

@ -2,3 +2,4 @@
type: testharness
[A non-control follows by a control with same ID.]
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

@ -1,7 +1,6 @@
[context-attributes-alpha-depth-stencil-antialias.html]
type: testharness
expected:
if os == "mac": CRASH
expected: 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,3 @@
[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

View file

@ -1,6 +1,6 @@
[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
expected: TIMEOUT
[Overall test]
expected: NOTRUN

View file

@ -1,10 +1,12 @@
[context-eviction-with-garbage-collection.html]
type: testharness
expected:
if os == "mac": CRASH
expected: TIMEOUT
[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
[Overall test]
expected: NOTRUN

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 +1,3 @@
prefs: [layout.writing-mode.enabled:true]
[writing-mode_change_display.html]
type: testharness

View file

@ -1,3 +1,3 @@
[calc.html]
type: testharness
prefs: [layout.column-count.enabled:true,layout.column-width.enabled:true,layout.column-gap.enabled:true]
prefs: [layout.column-count.enabled:true, layout.column-width.enabled:true, layout.column-gap.enabled:true]