Closed Bug 1710862 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 28974 - Implement MediaCapabilities API decodingInfo for WebRTC

Categories

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

task

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Johannes Kron <kron@chromium.org>' wrote:

Implement MediaCapabilities API decodingInfo for WebRTC

"webrtc" was recently added as an MediaDecodingType to the
MediaCapabilities API, see
https://w3c.github.io/media-capabilities/

This CL implements support for responding to supported and powerEfficient.
smooth is currently hardcoded to be true given that the configuration
is supported.

The feature is implemented behind the blink runtime enabled flag
MediaCapabilitiesWebRtc

Bug: chromium:1187565
Change-Id: I3bc72a6a8dd06d6bfb84badbcc24f50e77fd1e67
Reviewed-on: https://chromium-review.googlesource.com/2794472
WPT-Export-Revision: 48d2e74dae6a1736b21527c706b54d50d038befd

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

CI Results

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

Total 2 tests and 16 subtests

Status Summary

Firefox

OK : 1
PASS : 15
FAIL : 12
ERROR: 1

Chrome

OK : 2
PASS : 24
FAIL : 17

Safari

OK : 2
PASS : 14
FAIL : 24

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/media-capabilities/decodingInfo.webrtc.html: ERROR

New Tests That Don't Pass

/media-capabilities/decodingInfo.webrtc.html: ERROR (Chrome: OK, Safari: OK)
Test that decodingInfo returns a valid MediaCapabilitiesInfo objects: FAIL (Chrome: FAIL, Safari: FAIL)
Test that decodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc video content type.: FAIL (Chrome: FAIL, Safari: FAIL)
Test that decodingInfo returns supported, smooth, and powerEfficient set to false for non-webrtc audio content type.: FAIL (Chrome: FAIL, Safari: FAIL)
/media-capabilities/decodingInfoEncryptedMedia.https.html
Test that decodingInfo() rejects if robustness and configuration do not match (1).: FAIL (Chrome: PASS, Safari: FAIL)
Test that decodingInfo() rejects if robustness and configuration do not match (2).: FAIL (Chrome: PASS, Safari: FAIL)
Test that decodingInfo() rejects if robustness and configuration do not match (3).: FAIL (Chrome: PASS, Safari: FAIL)
Test that decodingInfo() rejects if persistentState isn't valid.: FAIL (Chrome: PASS, Safari: FAIL)
Test that decodingInfo() rejects if distinctiveIdentifier isn't valid.: FAIL (Chrome: PASS, Safari: FAIL)
Test that decodingInfo() rejects if sessionTypes isn't a sequence.: FAIL (Chrome: PASS, Safari: FAIL)
Test that decodingInfo returns a valid MediaCapabilitiesDecodingInfo objects with encrypted media: FAIL (Chrome: PASS, Safari: FAIL)
Test that random key systems are reported as non supported.: FAIL (Chrome: PASS, Safari: FAIL)
Test that supported=false when keySystemConfiguration is unsupported.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8143a7121166 [wpt PR 28974] - Implement MediaCapabilities API decodingInfo for WebRTC, a=testonly https://hg.mozilla.org/integration/autoland/rev/9be13a58f817 [wpt PR 28974] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3dc667ea1153 [wpt PR 28974] - Implement MediaCapabilities API decodingInfo for WebRTC, a=testonly https://hg.mozilla.org/integration/autoland/rev/b17e158c6ab7 [wpt PR 28974] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a4dcbd2444ed [wpt PR 28974] - Implement MediaCapabilities API decodingInfo for WebRTC, a=testonly https://hg.mozilla.org/integration/autoland/rev/15636bd326e0 [wpt PR 28974] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.