Closed Bug 1705224 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 28486 - webcodecs: Implementation of VideoEncoder.isConfigSupported()

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Eugene Zemtsov <eugene@chromium.org>' wrote:

webcodecs: Implementation of VideoEncoder.isConfigSupported()

Bug: 1176442
Change-Id: I2463090994eb946284eeee1e62ed53ebd7c9584c
Reviewed-on: https://chromium-review.googlesource.com/2823770
WPT-Export-Revision: 117d456b433b3d4671ed91e0c5fc0939bd22ab02

PR 28486 applied with additional changes from upstream: c25923e1e3a5c2de964768aded0243c2ed153365

CI Results

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

Total 2 tests and 10 subtests

Status Summary

Firefox

OK : 2
FAIL: 20

Chrome

OK : 2
FAIL: 20

Safari

OK : 2
FAIL: 20

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webcodecs/video-encoder-config.any.worker.html
Test that VideoEncoder.isConfigSupported() rejects invalid config:Emtpy codec: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:Unrecognized codec: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:Width is too large: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:Height is too large: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:Invalid scalability mode: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:AVC not supported by VP8: FAIL (Chrome: FAIL, Safari: FAIL)
VideoEncoder.isConfigSupported() doesn't support config:Too strenuous accelerated encoding parameters: FAIL (Chrome: FAIL, Safari: FAIL)
VideoEncoder.isConfigSupported() supports:{"codec":"avc1.42001E","hardwareAcceleration":"allow","width":640,"height":480,"bitrate":5000000,"framerate":24,"avc":{"format":"annexb"},"futureConfigFeature":"foo"}: FAIL (Chrome: FAIL, Safari: FAIL)
VideoEncoder.isConfigSupported() supports:{"codec":"vp8","hardwareAcceleration":"allow","width":800,"height":600,"bitrate":7000000,"framerate":60,"scalabilityMode":"L1T2","futureConfigFeature":"foo"}: FAIL (Chrome: FAIL, Safari: FAIL)
VideoEncoder.isConfigSupported() supports:{"codec":"vp09.00.10.08","hardwareAcceleration":"allow","width":1280,"height":720,"bitrate":7000000,"framerate":25,"futureConfigFeature":"foo"}: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/video-encoder-config.any.html
Test that VideoEncoder.isConfigSupported() rejects invalid config:Emtpy codec: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:Unrecognized codec: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:Width is too large: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:Height is too large: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:Invalid scalability mode: FAIL (Chrome: FAIL, Safari: FAIL)
Test that VideoEncoder.isConfigSupported() rejects invalid config:AVC not supported by VP8: FAIL (Chrome: FAIL, Safari: FAIL)
VideoEncoder.isConfigSupported() doesn't support config:Too strenuous accelerated encoding parameters: FAIL (Chrome: FAIL, Safari: FAIL)
VideoEncoder.isConfigSupported() supports:{"codec":"avc1.42001E","hardwareAcceleration":"allow","width":640,"height":480,"bitrate":5000000,"framerate":24,"avc":{"format":"annexb"},"futureConfigFeature":"foo"}: FAIL (Chrome: FAIL, Safari: FAIL)
VideoEncoder.isConfigSupported() supports:{"codec":"vp8","hardwareAcceleration":"allow","width":800,"height":600,"bitrate":7000000,"framerate":60,"scalabilityMode":"L1T2","futureConfigFeature":"foo"}: FAIL (Chrome: FAIL, Safari: FAIL)
VideoEncoder.isConfigSupported() supports:{"codec":"vp09.00.10.08","hardwareAcceleration":"allow","width":1280,"height":720,"bitrate":7000000,"framerate":25,"futureConfigFeature":"foo"}: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e62a3350c7c2
[wpt PR 28486] - webcodecs: Implementation of VideoEncoder.isConfigSupported(), a=testonly
https://hg.mozilla.org/integration/autoland/rev/92c8b13b01ac
[wpt PR 28486] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.