[wpt-sync] Sync PR 24606 - [Sheriff] Revert "Deflake preservesPitch tests"
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 24606 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/24606
Details from upstream follow.
Roger McFarlane <rogerm@chromium.org> wrote:
[Sheriff] Revert "Deflake preservesPitch tests"
This reverts commit 7b6c4007896853f91f32bd69b2c770f0210c66e5.
Reason for revert:
Post this change, preservesPitch seems to consistently fail.
https://ci.chromium.org/p/chromium/builders/ci/Mac10.14%20Tests
Original change's description:
Deflake preservesPitch tests
This CL changes preservesPitch tests to wait until the audioElement's
currentTime is at least 0.5 seconds before trying to detect the pitch.
Without this check, the test can try to detect the pitch before the
audio has played enough, which can return a dominant frequency of 0Hz
and fail the test.The CL also makes a few stylistic changes, and fixes an off-by-one error
in the number of increments used to calculate frequencies.Bug: 1096238
Change-Id: I6e98e172862a47bea1c4026737138293914f7906
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2298281
Auto-Submit: Thomas Guilbert \<tguilbert@chromium.org>
Commit-Queue: Philip Jägenstedt \<foolip@chromium.org>
Reviewed-by: Philip Jägenstedt \<foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788535}TBR=tguilbert@chromium.org,foolip@chromium.org
Change-Id: I0042f73ca9c5de7d82be1200794c45b46a003f9b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1096238
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299183
Reviewed-by: Roger McFarlane \<rogerm@chromium.org>
Commit-Queue: Roger McFarlane \<rogerm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#788626}
Edited by @foolip to also include the reland with fixes:
Reland preservesPitch test deflake, fix timeouts This CL relands "Deflake preservesPitch tests", which was reverted by: commit f19f3404371bba3cac38bf1bcf672ef5f3e96558. It also attempts to incorporate some of the WPT changes made upstream, but not yet landed, in: https://github.com/web-platform-tests/wpt/pull/24599 Specifically, it fixes typos in the Safari prefixes, and explicitly starts the audio context. However, it is different from the PR, since it reuses the same Audio element, MediaElementAudioSourceNode and AudioContext. This is an attempt to cut down on overhead costs and fix test timeouts. We instead reset the audio.currentTime to 0, and only create a new analyser node for each test. Bug: 1105877, 1096238 Change-Id: Ie528ec0b7c38d9df59fcb04696c810e6d1c232f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300929 Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Auto-Submit: Thomas Guilbert <tguilbert@chromium.org> Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/master@{#789262}
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 9 subtests
Status Summary
Firefox
OK : 1
PASS : 6
FAIL : 3
Chrome
OK : 1
PASS : 9
Safari
TIMEOUT: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/html/semantics/embedded-content/media-elements/preserves-pitch.html
Slow-downs should change the pitch when preservesPitch=false: FAIL (Chrome: PASS)
Speed-ups should change the pitch when preservesPitch=false: FAIL (Chrome: PASS)
Test that preservesPitch is present and unprefixed.: FAIL (Chrome: PASS)
Comment 5•4 years ago
|
||
bugherder |
Description
•