<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>229050</bug_id>
          
          <creation_ts>2021-08-12 13:31:38 -0700</creation_ts>
          <short_desc>[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</short_desc>
          <delta_ts>2022-09-29 12:49:22 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebGL</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=227723</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=226865</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alex</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>dino</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>kpiddington</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1783936</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-08-12 13:31:38 -0700</bug_when>
    <thetext>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 &apos;sequence&apos; operator..
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1783939</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-08-12 13:40:05 -0700</bug_when>
    <thetext>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 &apos;gl.createShader&apos;)
 Tests that program compiling/linking with a struct-array construct.
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
 
-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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1783940</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-08-12 13:42:04 -0700</bug_when>
    <thetext>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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1784015</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2021-08-12 18:29:16 -0700</bug_when>
    <thetext>Expectations updated on r281002</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1784241</commentid>
    <comment_count>4</comment_count>
    <who name="Kyle Piddington">kpiddington</who>
    <bug_when>2021-08-13 14:57:17 -0700</bug_when>
    <thetext>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/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902144</commentid>
    <comment_count>5</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2022-09-29 12:48:15 -0700</bug_when>
    <thetext>After replacing the WebGL backend with ANGLE these tests are fixed. The gardening commit is:

https://commits.webkit.org/255008@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902145</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-29 12:49:22 -0700</bug_when>
    <thetext>&lt;rdar://problem/100577998&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>