Closed Bug 1751087 Opened 3 years ago Closed 3 years ago

Pass YouTube's test on whether or not we support HDR on macOS

Categories

(Core :: DOM: Device Interfaces, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1751217

People

(Reporter: bradwerth, Assigned: bradwerth)

References

Details

YouTube apparently uses the following logic to determine if it should serve HDR content:

return window.matchMedia('(dynamic-range: high)').matches ||
        (window.screen.pixelDepth > 24 &&
         window.matchMedia('(color-gamut: p3)').matches);

All 3 of these conditions are currently false on my MacBook Pro with an HDR-capable screen. Probably the correct fix is to ensure that (dynamic-range: high) matches.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.