Closed Bug 2084483 Opened 1 month ago Closed 24 days ago

[wpt-sync] Sync PR 63921 - [MediaCapabilities] Reject HDR fields for types 'record' and 'webrtc'

Categories

(Core :: WebRTC: Audio/Video, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63921 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63921
Details from upstream follow.

mark a. foltz <mfoltz@chromium.org> wrote:

[MediaCapabilities] Reject HDR fields for types 'record' and 'webrtc'

In Media Capabilities, hdrMetadataType, colorGamut, and transferFunction
are only valid for non-WebRTC decode configurations ('file' and
'media-source'). Reject them with TypeError for 'webrtc' decoding and
all encoding configurations ('record' and 'webrtc').

Spec:
https://w3c.github.io/media-capabilities/#valid-video-configuration
Specifically, sections about applicability of these three properties to
the 'file' and 'media-source' types.

Update IsValidVideoConfiguration() accordingly, add unit tests, and
update WPT baselines.

Bug: None
Change-Id: I47f0a6b3b29c8447a6b0ac728b53666747922554
Reviewed-on: https://chromium-review.googlesource.com/8614858
WPT-Export-Revision: 6db2c7c0947fbcd8f07aea1d4741f71629ae6076

Component: web-platform-tests → WebRTC: Audio/Video
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 12 tests and 38 subtests

Status Summary

Firefox

OK : 6[GitHub] 12[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 158[GitHub] 322[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 324[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 6

Chrome

OK : 6
PASS: 127
FAIL: 48

Safari

OK : 6
PASS: 134
FAIL: 34

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.