Closed Bug 2077712 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63222 - Deflake preserves-pitch.html when playback stalls

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Thomas Guilbert <tguilbert@chromium.org> wrote:

Deflake preserves-pitch.html when playback stalls

preserves-pitch.html samples the pitch on the first timeupdate with
currentTime >= 0.5. timeupdate is also fired when playback stalls to
wait for data, and the analyser only receives silence during stalls.
This shows up as 0Hz failures in the 2x cases, mostly on debug bots.

This CL only resolves waitUntil() while readyState is at least
HAVE_FUTURE_DATA. It also retries the detection up to twice more if it
returns 0Hz, since a periodic timeupdate can still race with a stall.

Finally, this removes a stale Win11-arm64 [ Timeout ] expectation
for preserves-pitch.html, which hasn't timed out in ~1,900 runs since
July.

Fixed: 40706046, 353583104
Change-Id: I134980f58b4ca1ed766ac78b6b8edacef68bc3e0

Reviewed-on: https://chromium-review.googlesource.com/8508603
WPT-Export-Revision: c4c97e010e7f8e5069908db9ad2bbcc240b75725

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Attached file Notable wpt changes —

CI Results

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

Total 393 tests

Status Summary

Firefox

OK : 1[GitHub] 367[Gecko-android-em-14-x86_64-debug-geckoview] 373[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 377[Gecko-windows11-32-25h2-opt] 378[Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 379[Gecko-windows11-64-25h2-opt] 380[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
PASS : 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 9[GitHub] 719[Gecko-android-em-14-x86_64-debug-geckoview] 720[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 744[Gecko-linux2404-64-opt] 747[Gecko-windows11-32-25h2-opt] 750[Gecko-windows11-32-25h2-debug] 751[Gecko-windows11-64-25h2-opt] 752[Gecko-windows11-64-25h2-debug] 755[Gecko-linux2404-64-debug]
FAIL : 102[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 103[Gecko-linux2404-64-debug] 104[Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug] 106[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
PRECONDITION_FAILED: 14

Chrome

OK : 1
PASS : 9

Safari

CRASH : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: