Closed Bug 1649644 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24405 - Add preservesPitch tests

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Thomas Guilbert <tguilbert@chromium.org> wrote:

Add preservesPitch tests

This CL adds Web Platform Tests that check the behavior of the
preservesPitch flag.

The tests rely on WebAudio to analyze the frequency of an Audio element,
as the playback rate changes.

Firefox's mozPreservePitch does not affect MediaElementAudioSourceNode,
which means that these tests won't work on Firefox. See:
https://bugzilla.mozilla.org/show_bug.cgi?id=1648277

Change-Id: Ic25d474f96e32eb8d8584188d879a018daa6ae73
Reviewed-on: https://chromium-review.googlesource.com/2259375
WPT-Export-Revision: 9d88d56d47b9593e4a1fc3631a266d81d170c493

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 2 tests and 8 subtests

Status Summary

Firefox

OK : 2
PASS : 57
FAIL : 5

Chrome

OK : 2
PASS : 62

Safari

OK : 1
PASS : 47
FAIL : 7
TIMEOUT: 1

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/html/semantics/embedded-content/media-elements/historical.html
video.mozPreservesPitch should not be supported: FAIL
audio.mozPreservesPitch should not be supported: FAIL

New Tests That Don't Pass

/html/semantics/embedded-content/media-elements/historical.html
video.mozPreservesPitch should not be supported: FAIL (Chrome: PASS, Safari: PASS)
audio.mozPreservesPitch should not be supported: FAIL (Chrome: PASS, Safari: 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)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/621bfef28028 [wpt PR 24405] - Add preservesPitch tests, a=testonly https://hg.mozilla.org/integration/autoland/rev/ba0802d3b9d3 [wpt PR 24405] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.