[wpt-sync] Sync PR 28974 - Implement MediaCapabilities API decodingInfo for WebRTC
Categories
(Core :: WebRTC: Audio/Video, task, P4)
Tracking
()
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
MediaCapabilitiesWebRtcBug: chromium:1187565
Change-Id: I3bc72a6a8dd06d6bfb84badbcc24f50e77fd1e67
Reviewed-on: https://chromium-review.googlesource.com/2794472
WPT-Export-Revision: 48d2e74dae6a1736b21527c706b54d50d038befd
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
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)
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a4dcbd2444ed
https://hg.mozilla.org/mozilla-central/rev/15636bd326e0
Description
•