Bug 242698

Summary: REGRESSION: Colors are way off on http/tests/media/hls/hls-hdr-switch.html
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: eric.carlson, heycam, jer.noble, 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=242559

Alexey Proskuryakov
Reported 2022-07-13 10:18:26 PDT
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'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'm getting (0, 0, 0, 0). But this bug tracks the colors being off.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-07-13 10:18:37 PDT
Alexey Proskuryakov
Comment 2 2022-07-13 10:27:43 PDT
Making the tolerance higher in bug 242559.
Alexey Proskuryakov
Comment 3 2022-07-13 16:31:49 PDT
I'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.
Note You need to log in before you can comment on or make changes to this bug.