Closed Bug 2076319 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63028 - [WebCodecs] Fix Vorbis setup in audioDecoder-codec-specific WPT

Categories

(Core :: Audio/Video: Web Codecs, task, P4)

task

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Thomas Guilbert <tguilbert@chromium.org> wrote:

[WebCodecs] Fix Vorbis setup in audioDecoder-codec-specific WPT

Per the Vorbis I spec, decoders return no audio for the first packet,
which is only used to prime the decoder. This also applies after a
flush. The test didn't account for this, so two Vorbis subtests failed
even though the decoder behaves correctly.

Chunks can now set their own duration. The first Vorbis chunk is given
a duration of 128 samples, and discard_padding is set to match, so the
negative timestamp test expects the correct first output timestamp. The
flush test now queues the first chunk again after flushing when
packet_delay > 0, to prime the reset decoder.

All Vorbis subtests now pass, so the Vorbis -expected.txt files are
removed.

Bug: 512772321
Test: external/wpt/webcodecs/audioDecoder-codec-specific.https.any.js
Change-Id: I50cabd735d0235e0cc62f0bf662f41734b991e03
TAG=agy
CONV=a052d893-0771-4c56-a3f3-001e81510bc5
Reviewed-on: https://chromium-review.googlesource.com/8464346
WPT-Export-Revision: 1492e23dd4f3268b21e09d19c10bf56dddeb4b90

Component: web-platform-tests → Audio/Video: Web Codecs
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 258 tests and 6 subtests

Status Summary

Firefox

OK : 26[GitHub] 175[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-debug-isolated-process-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 239[Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug] 241[Gecko-windows11-64-25h2-debug]
PASS : 250[GitHub] 1624[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-debug-isolated-process-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 2242[Gecko-windows11-64-25h2-debug] 2336[Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug]
FAIL : 10[GitHub] 353[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-debug-isolated-process-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 364[Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug]
PRECONDITION_FAILED: 23[Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug] 121[Gecko-windows11-64-25h2-debug] 517[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-debug-isolated-process-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
ERROR : 4[Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-windows11-64-25h2-debug] 12[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-debug-isolated-process-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
NOTRUN : 40

Chrome

OK : 22
PASS : 220
ERROR : 4
NOTRUN : 40

Safari

OK : 22
PASS : 210
FAIL : 10
ERROR : 4
NOTRUN : 40

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/afd2a41887a3 https://hg.mozilla.org/integration/autoland/rev/20596a2dbdd4 [wpt PR 63028] - [WebCodecs] Fix Vorbis setup in audioDecoder-codec-specific WPT, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: