| This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL. |
| |
| Test: ../../resources/webgl_test_files/conformance/misc/webgl-specific.html |
| [ 1: PASS ] getError was expected value: NO_ERROR : Setup should succeed |
| [ 2: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFunc(gl.CONSTANT_COLOR, gl.CONSTANT_ALPHA) |
| [ 3: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFunc(gl.ONE_MINUS_CONSTANT_COLOR, gl.CONSTANT_ALPHA) |
| [ 4: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFunc(gl.CONSTANT_COLOR, gl.ONE_MINUS_CONSTANT_ALPHA) |
| [ 5: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFunc(gl.ONE_MINUS_CONSTANT_COLOR, gl.ONE_MINUS_CONSTANT_ALPHA) |
| [ 6: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFunc(gl.CONSTANT_ALPHA, gl.CONSTANT_COLOR) |
| [ 7: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFunc(gl.CONSTANT_ALPHA, gl.ONE_MINUS_CONSTANT_COLOR) |
| [ 8: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFunc(gl.ONE_MINUS_CONSTANT_ALPHA, gl.CONSTANT_COLOR) |
| [ 9: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFunc(gl.ONE_MINUS_CONSTANT_ALPHA, gl.ONE_MINUS_CONSTANT_COLOR) |
| [ 10: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFuncSeparate(gl.CONSTANT_COLOR, gl.CONSTANT_ALPHA, gl.ONE, gl.ZERO) |
| [ 11: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFuncSeparate(gl.ONE_MINUS_CONSTANT_COLOR, gl.CONSTANT_ALPHA, gl.ONE, gl.ZERO) |
| [ 12: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFuncSeparate(gl.CONSTANT_COLOR, gl.ONE_MINUS_CONSTANT_ALPHA, gl.ONE, gl.ZERO) |
| [ 13: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFuncSeparate(gl.ONE_MINUS_CONSTANT_COLOR, gl.ONE_MINUS_CONSTANT_ALPHA, gl.ONE, gl.ZERO) |
| [ 14: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFuncSeparate(gl.CONSTANT_ALPHA, gl.CONSTANT_COLOR, gl.ONE, gl.ZERO) |
| [ 15: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFuncSeparate(gl.CONSTANT_ALPHA, gl.ONE_MINUS_CONSTANT_COLOR, gl.ONE, gl.ZERO) |
| [ 16: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFuncSeparate(gl.ONE_MINUS_CONSTANT_ALPHA, gl.CONSTANT_COLOR, gl.ONE, gl.ZERO) |
| [ 17: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.blendFuncSeparate(gl.ONE_MINUS_CONSTANT_ALPHA, gl.ONE_MINUS_CONSTANT_COLOR, gl.ONE, gl.ZERO) |
| [ 18: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.depthRange(20, 10) |
| [ 19: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.stencilMask(255) |
| [ 20: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0) |
| [ 21: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.stencilMaskSeparate(gl.FRONT, 1) |
| [ 22: PASS ] !!gl.getParameter(gl.STENCIL_BITS) is true |
| [ 23: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0) |
| [ 24: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.stencilMaskSeparate(gl.BACK, 1) |
| [ 25: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0) |
| [ 26: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.stencilFunc(gl.ALWAYS, 0, 255) |
| [ 27: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0) |
| [ 28: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.stencilFuncSeparate(gl.BACK, gl.ALWAYS, 1, 255) |
| [ 29: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0) |
| [ 30: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.stencilFuncSeparate(gl.FRONT, gl.ALWAYS, 1, 255) |
| [ 31: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0) |
| [ 32: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.stencilFuncSeparate(gl.BACK, gl.ALWAYS, 1, 1) |
| [ 33: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0) |
| [ 34: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.stencilFuncSeparate(gl.FRONT, gl.ALWAYS, 1, 1) |
| [ 35: PASS ] getError was expected value: NO_ERROR : after evaluating: gl.drawArrays(gl.TRIANGLES, 0, 0) |
| [ 36: PASS ] undefined is undefined. |
| [ 37: PASS ] undefined is undefined. |
| [ 38: PASS ] undefined is undefined. |
| [ 39: PASS ] undefined is undefined. |
| [ 40: PASS ] undefined is undefined. |
| [ 41: PASS ] gl.getParameter(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL) is gl.BROWSER_DEFAULT_WEBGL |
| [ 42: PASS ] gl.getParameter(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL) is gl.NONE |
| [ 43: PASS ] getError was expected value: NO_ERROR : set/get UNPACK_COLORSPACE_CONVERSION_WEBGL should generate no error |
| [ 44: PASS ] gl.drawingBufferWidth >= 0 && gl.drawingBufferHeight >= 0 is true |
| [ 45: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.bindAttribLocation(program, 0, 'webgl_a') |
| [ 46: PASS ] getError was expected value: INVALID_OPERATION : after evaluating: gl.bindAttribLocation(program, 0, '_webgl_a') |
| [ 47: FAIL ] getError expected: INVALID_VALUE. Was NO_ERROR : after evaluating: gl.lineWidth(NaN) |
| [ 48: PASS ] successfullyParsed is true |
| [ FAIL ] 1 failures reported |
| |