Closed Bug 1703973 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28421 - webcodecs: IDL changes for (Video|Audio)Encoder.isConfigSupported()

Categories

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

task

Tracking

(firefox89 fixed)

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

webcodecs: IDL changes for (Video|Audio)Encoder.isConfigSupported()

Also

  1. basics of config validation based on validation logic from encoders
  2. Trivial tests

Bug: 1176442
Change-Id: I944fae057adafede9b33a402a8c7718aec72b97c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2811654
Reviewed-by: Chrome Cunningham \<chcunningham@chromium.org>
Commit-Queue: Eugene Zemtsov \<eugene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#870710}

CI Results

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

Total 5 tests and 2 subtests

Status Summary

Firefox

OK : 4
FAIL : 9
ERROR: 1

Chrome

OK : 4
PASS : 22
FAIL : 10
ERROR: 1

Safari

OK : 4
FAIL : 9
ERROR: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webcodecs/audio-encoder-config.any.worker.html
Test that AudioDecoder.isConfigSupported() rejects invalid config:Emtpy codec: FAIL (Chrome: FAIL, Safari: FAIL)
Test that AudioDecoder.isConfigSupported() rejects invalid config:Unrecognized codec: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/audio-encoder-config.any.html
Test that AudioDecoder.isConfigSupported() rejects invalid config:Emtpy codec: FAIL (Chrome: FAIL, Safari: FAIL)
Test that AudioDecoder.isConfigSupported() rejects invalid config:Unrecognized codec: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/audio-encoder.any.html: ERROR (Chrome: ERROR, Safari: ERROR)
Simple audio encoding: FAIL (Chrome: PASS, Safari: FAIL)
/webcodecs/video-encoder-config.any.html
Test that AudioDecoder.isConfigSupported() rejects invalid config:Emtpy codec: FAIL (Chrome: FAIL, Safari: FAIL)
Test that AudioDecoder.isConfigSupported() rejects invalid config:Unrecognized codec: FAIL (Chrome: FAIL, Safari: FAIL)
/webcodecs/video-encoder-config.any.worker.html
Test that AudioDecoder.isConfigSupported() rejects invalid config:Emtpy codec: FAIL (Chrome: FAIL, Safari: FAIL)
Test that AudioDecoder.isConfigSupported() rejects invalid config:Unrecognized codec: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/483bccfd2bae
[wpt PR 28421] - webcodecs: IDL changes for (Video|Audio)Encoder.isConfigSupported(), a=testonly
https://hg.mozilla.org/integration/autoland/rev/f9f7aec40f24
[wpt PR 28421] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.