Test fast/canvas/webgl/shader-with-comma-op.html fails since it was added on r279656 on GTK and WPE. The text failure is: --- /home/buildbot/worker/wpe-linux-64-release-tests/build/layout-test-results/fast/canvas/webgl/shader-with-comma-op-expected.txt +++ /home/buildbot/worker/wpe-linux-64-release-tests/build/layout-test-results/fast/canvas/webgl/shader-with-comma-op-actual.txt @@ -1,12 +1,16 @@ +CONSOLE MESSAGE: WebGL: INVALID_OPERATION: drawArrays: attempt to access out of bounds arrays +CONSOLE MESSAGE: WebGL: INVALID_OPERATION: drawArrays: attempt to access out of bounds arrays +CONSOLE MESSAGE: WebGL: INVALID_OPERATION: drawArrays: attempt to access out of bounds arrays Tests compiling programs that use the 'sequence' operator.. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS getError was expected value: NO_ERROR : no error for using comma operator with void function -PASS getError was expected value: NO_ERROR : no error for using comma operator with non-void function -PASS getError was expected value: NO_ERROR : no error for using comma operator with standard type +FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : no error for using comma operator with void function +FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : no error for using comma operator with non-void function +FAIL getError expected: NO_ERROR. Was INVALID_OPERATION : no error for using comma operator with standard type PASS successfullyParsed is true +Some tests failed. TEST COMPLETE
Also, likely related to the same issue, test fast/canvas/webgl/shader-with-struct-array.html fails since it was added on r279968 on GTK and WPE The text failure is: --- /home/buildbot/worker/wpe-linux-64-release-tests/build/layout-test-results/fast/canvas/webgl/shader-with-struct-array-expected.txt +++ /home/buildbot/worker/wpe-linux-64-release-tests/build/layout-test-results/fast/canvas/webgl/shader-with-struct-array-actual.txt @@ -1,10 +1,11 @@ +CONSOLE MESSAGE: TypeError: null is not an object (evaluating 'gl.createShader') Tests that program compiling/linking with a struct-array construct. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". -PASS getError was expected value: NO_ERROR : no error for struct array in program -PASS successfullyParsed is true +FAIL successfullyParsed should be true. Was false. +Some tests failed. TEST COMPLETE
This two tests seems related to the Metal backend of WebGL. On Linux Metal is not supported. I wonder if the output they give is expected and we should simply skip them or there is something to fix on the WebKit Linux/WebGL backend?
Expectations updated on r281002
As a heads up, these tests were added to verify fixing the following two samples: https://bugs.webkit.org/show_bug.cgi?id=226865 Shader-with-struct-array: https://zynaps.com/content/photon/ Shader with comma-op https://bugs.webkit.org/show_bug.cgi?id=227723 https://jsfiddle.net/9p1f3t5r/2/
After replacing the WebGL backend with ANGLE these tests are fixed. The gardening commit is: https://commits.webkit.org/255008@main
<rdar://problem/100577998>