Bug 229050
Summary: | [GTK][WPE] Test fast/canvas/webgl/shader-with-comma-op.html and fast/canvas/webgl/shader-with-struct-array.html fail since they were added | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
Component: | WebGL | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | alex, bugs-noreply, dino, kbr, kkinnunen, kpiddington, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=227723 https://bugs.webkit.org/show_bug.cgi?id=226865 |
Carlos Alberto Lopez Perez
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
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
Carlos Alberto Lopez Perez
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?
Carlos Alberto Lopez Perez
Expectations updated on r281002
Kyle Piddington
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/
Alejandro G. Castro
After replacing the WebGL backend with ANGLE these tests are fixed. The gardening commit is:
https://commits.webkit.org/255008@main
Radar WebKit Bug Importer
<rdar://problem/100577998>