<?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>237414</bug_id>
          
          <creation_ts>2022-03-03 04:04:51 -0800</creation_ts>
          <short_desc>webgl/1.0.x/conformance/programs/program-test.html fails</short_desc>
          <delta_ts>2022-06-30 00:41:55 -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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>
          
          <blocked>222812</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kimmo Kinnunen">kkinnunen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1847814</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2022-03-03 04:04:51 -0800</bug_when>
    <thetext>webgl/1.0.x/conformance/programs/program-test.html fails</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1847815</commentid>
    <comment_count>1</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2022-03-03 04:05:31 -0800</bug_when>
    <thetext>This test runs the WebGL Test listed below in an iframe and reports PASS or FAIL.

Test: ../../../resources/webgl_test_files/conformance/programs/program-test.html

[ 1: PASS ] context exists
[ 2: PASS ] good vertex shader should compile
[ 3: PASS ] getError was expected value: NO_ERROR : should be no errors at this point
[ 4: PASS ] invalid call to getShaderParameter should return null
[ 5: PASS ] getError was expected value: INVALID_ENUM : INFO_LOG_LENGTH is not a valid argument to getShaderParameter in WebGL
[ 6: PASS ] invalid call to getShaderParameter should return null
[ 7: PASS ] getError was expected value: INVALID_ENUM : SHADER_SOURCE_LENGTH is not a valid argument to getShaderParameter in WebGL
[ 8: PASS ] good vertex shader #2 should compile
[ 9: PASS ] good fragment shader should compile
[ 10: PASS ] good fragment shader #2 should compile
[ 11: PASS ] getError was expected value: NO_ERROR : should be no errors at this point
[ 12: PASS ] getError was expected value: NO_ERROR : attaching a vertex shader should succeed
[ 13: PASS ] getError was expected value: INVALID_OPERATION : attaching an already attached vertex shader should generate INVALID_OPERATION
[ 14: PASS ] getError was expected value: NO_ERROR : attaching a fragment shader should succeed
[ 15: PASS ] getError was expected value: INVALID_OPERATION : attaching an already attached fragment shader should generate INVALID_OPERATION
[ 16: PASS ] getError was expected value: INVALID_OPERATION : attaching shaders of the same type to a program should generate INVALID_OPERATION
[ 17: PASS ] getError was expected value: INVALID_OPERATION : attaching shaders of the same type to a program should generate INVALID_OPERATION
[ 18: PASS ] getError was expected value: NO_ERROR : detaching a vertex shader should succeed
[ 19: PASS ] getError was expected value: INVALID_OPERATION : detaching a not already attached vertex shader should generate INVALID_OPERATION
[ 20: PASS ] getError was expected value: NO_ERROR : detaching a fragment shader should succeed
[ 21: PASS ] getError was expected value: INVALID_OPERATION : detaching a not already attached fragment shader should generate INVALID_OPERATION
[ 22: PASS ] getAttachedShaders should return an empty list by default
[ 23: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 0
[ 24: PASS ] attaching a single shader should give the expected list
[ 25: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 1
[ 26: PASS ] attaching some shaders should give the expected list
[ 27: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 2
[ 28: PASS ] attaching a shader and detaching it should leave an empty list
[ 29: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 0
[ 30: PASS ] attaching some shaders and detaching them in same order should leave an empty list
[ 31: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 0
[ 32: PASS ] attaching some shaders and detaching them in random order should leave an empty list
[ 33: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 0
[ 34: PASS ] attaching and detaching some shaders should leave the difference list
[ 35: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 1
[ 36: PASS ] attaching and detaching some shaders should leave the difference list
[ 37: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 1
[ 38: PASS ] attaching a shader that failed to compile should still show it in the list
[ 39: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 1
[ 40: PASS ] attaching shaders, including one that failed to compile, should still show the it in the list
[ 41: PASS ] gl.getProgramParameter(prog, gl.ATTACHED_SHADERS) is 2
[ 42: PASS ] valid program should link
[ 43: PASS ] invalid call to getProgramParameter should return null
[ 44: PASS ] getError was expected value: INVALID_ENUM : INFO_LOG_LENGTH is not a valid argument to getProgramParameter in WebGL
[ 45: PASS ] invalid call to getProgramParameter should return null
[ 46: PASS ] getError was expected value: INVALID_ENUM : ACTIVE_ATTRIBUTE_MAX_LENGTH is not a valid argument to getProgramParameter in WebGL
[ 47: PASS ] invalid call to getProgramParameter should return null
[ 48: PASS ] getError was expected value: INVALID_ENUM : ACTIVE_UNIFORM_MAX_LENGTH is not a valid argument to getProgramParameter in WebGL
[ 49: PASS ] getError was expected value: NO_ERROR : using a valid program should succeed
[ 50: PASS ] valid program #2 should link
[ 51: PASS ] getError was expected value: NO_ERROR : using a valid program should succeed
[ 52: PASS ] program with no fragment shader should fail to link
[ 53: PASS ] getError was expected value: INVALID_OPERATION : using an invalid program should generate INVALID_OPERATION
[ 54: PASS ] program with no vertex shader should fail to link
[ 55: PASS ] getError was expected value: INVALID_OPERATION : using an invalid program should generate INVALID_OPERATION
[ 56: PASS ] program with bad vertex shader should fail to link
[ 57: PASS ] getError was expected value: INVALID_OPERATION : using an invalid program should generate INVALID_OPERATION
[ 58: PASS ] program with bad fragment shader should fail to link
[ 59: PASS ] getError was expected value: INVALID_OPERATION : using an invalid program should generate INVALID_OPERATION
[ 60: PASS ] program with bad shaders should fail to link
[ 61: PASS ] getError was expected value: INVALID_OPERATION : using an invalid program should generate INVALID_OPERATION
[ 62: PASS ] getError was expected value: NO_ERROR : using a valid program shouldn&apos;t generate a GL error
[ 63: PASS ] getError was expected value: NO_ERROR : should be no errors at this point #2
[ 64: PASS ] getError was expected value: INVALID_OPERATION : drawing with a null program should generate INVALID_OPERATION
[ 65: PASS ] getError was expected value: NO_ERROR : drawing with a valid program shouldn&apos;t generate a GL error
[ 66: PASS ] getError was expected value: INVALID_OPERATION : using an invalid program should generate INVALID_OPERATION
[ 67: PASS ] getError was expected value: NO_ERROR : Try to use an invalid program should not change the current rendering state
[ 68: PASS ] getError was expected value: NO_ERROR : drawing with a valid program shouldn&apos;t generate a GL error
[ 69: PASS ] linking should fail with in-use formerly good program, with new bad shader attached
[ 70: FAIL ] getError expected: INVALID_OPERATION. Was NO_ERROR : drawing with a newly-invalidated program should generate INVALID_OPERATION
[ 71: PASS ] getError was expected value: NO_ERROR : drawing with a valid when last used program shouldn&apos;t generate a GL error
[ 72: PASS ] delete shaders after attaching them and before linking program should not affect linkProgram
[ 73: PASS ] getError was expected value: NO_ERROR : using a valid program should succeed
[ 74: PASS ] getError was expected value: NO_ERROR : drawing with a valid when last used program shouldn&apos;t generate a GL error
[ 75: PASS ] getError was expected value: NO_ERROR : delete the current program shouldn&apos;t change the current rendering state
[ 76: PASS ] getError was expected value: NO_ERROR : The current program shouldn&apos;t be deleted
[ 77: PASS ] good fragment shader should compile
[ 78: PASS ] getError was expected value: INVALID_VALUE : an unattached shader should be deleted immediately
[ 79: PASS ] good fragment shader should compile
[ 80: PASS ] an attached shader shouldn&apos;t be deleted
[ 81: PASS ] getError was expected value: INVALID_VALUE : a delete-marked program should be deleted once it&apos;s no longer the current program
[ 82: PASS ] getError was expected value: INVALID_VALUE : a delete-marked shader should be deleted once all its attachments are removed
[ 83: PASS ] should be red
[ 84: PASS ] should be green
[ 85: PASS ] should be red
[ 86: PASS ] should be tranparent black
[ 87: PASS ] getError was expected value: NO_ERROR : should be no errors
[ 88: PASS ] successfullyParsed is true
[ FAIL ] 1 failures reported</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1850020</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-03-10 04:05:35 -0800</bug_when>
    <thetext>&lt;rdar://problem/90090783&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879289</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-06-30 00:41:53 -0700</bug_when>
    <thetext>Committed 251985@main (849bedafb463): &lt;https://commits.webkit.org/251985@main&gt;

Reviewed commits have been landed. Closing PR #1849 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>