<?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>242698</bug_id>
          
          <creation_ts>2022-07-13 10:18:26 -0700</creation_ts>
          <short_desc>REGRESSION: Colors are way off on http/tests/media/hls/hls-hdr-switch.html</short_desc>
          <delta_ts>2022-07-13 16:31:49 -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>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=242559</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="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>heycam</cc>
    
    <cc>jer.noble</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1883143</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-07-13 10:18:26 -0700</bug_when>
    <thetext>http/tests/media/hls/hls-hdr-switch.html used to pass on macOS Big Sur as of 2021-04-15, before we broke it with PHP to Python conversion. Fixing that, I see that it fails in a new way.

This test waits for a video drawn to canvas to become red, and then it waits for it to become green. The test allows for up to +-20 from (255, 0, 0, 255) and (0, 255, 0, 255) for those.

But what I&apos;m observing on my machine and on EWS too is (232,39,0,255) and (67,251,0,255). This is roughly the colors I see on the screen indeed, when running r-w-t- with --show-window. Getting these exact colors on Big Sur with both WK1 and WK2.

As an aside, this test fails in a different way on macOS Ventura beta, I&apos;m getting (0, 0, 0, 0). But this bug tracks the colors being off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883145</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-07-13 10:18:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/96959572&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883149</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-07-13 10:27:43 -0700</bug_when>
    <thetext>Making the tolerance higher in bug 242559.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883445</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-07-13 16:31:49 -0700</bug_when>
    <thetext>I&apos;m actually seeing exactly the same numbers on macOS Monterey (12.5). There was a regression on this major version introduced at a different time, but it must have been fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>