-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alias webkitPreservesPitch as preservesPitch
https://bugs.webkit.org/show_bug.cgi?id=214922 rdar://66579074 Reviewed by Tim Nguyen. Alias webkitPreservesPitch as preservesPitch so web developers won't have to branch anymore. We'll keep webkitPreservesPitch around for now for compatibility. * LayoutTests/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/preserves-pitch-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/preserves-pitch.html: * LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt: * LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/idlharness.https_include=HTML._-expected.txt: * Source/WebCore/html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::loadResource): (WebCore::HTMLMediaElement::preservesPitch const): (WebCore::HTMLMediaElement::setPreservesPitch): (WebCore::HTMLMediaElement::webkitPreservesPitch const): Deleted. (WebCore::HTMLMediaElement::setWebkitPreservesPitch): Deleted. * Source/WebCore/html/HTMLMediaElement.h: * Source/WebCore/html/HTMLMediaElement.idl: * Source/WebKitLegacy/mac/DOM/DOMHTMLMediaElement.mm: (-[DOMHTMLMediaElement webkitPreservesPitch]): (-[DOMHTMLMediaElement setWebkitPreservesPitch:]): Canonical link: https://commits.webkit.org/267341@main
- Loading branch information
Showing
9 changed files
with
35 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 8 additions & 11 deletions
19
...latform-tests/html/semantics/embedded-content/media-elements/preserves-pitch-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
CONSOLE MESSAGE: Unhandled Promise Rejection: NotSupportedError: The operation is not supported. | ||
|
||
Harness Error (FAIL), message = Unhandled rejection: The operation is not supported. | ||
|
||
FAIL Test that preservesPitch is present and unprefixed. assert_true: expected true got false | ||
PASS Test that preservesPitch is present and unprefixed. | ||
PASS Test that preservesPitch is on by default | ||
FAIL Setup Audio element and AudioContext promise_test: Unhandled rejection with value: object "NotSupportedError: The operation is not supported." | ||
TIMEOUT The default playbackRate should not affect pitch Test timed out | ||
NOTRUN The default playbackRate should not affect pitch, even with preservesPitch=false | ||
NOTRUN Speed-ups should not change the pitch when preservesPitch=true | ||
NOTRUN Slow-downs should not change the pitch when preservesPitch=true | ||
NOTRUN Speed-ups should change the pitch when preservesPitch=false | ||
NOTRUN Slow-downs should change the pitch when preservesPitch=false | ||
PASS Setup Audio element and AudioContext | ||
PASS The default playbackRate should not affect pitch | ||
PASS The default playbackRate should not affect pitch, even with preservesPitch=false | ||
PASS Speed-ups should not change the pitch when preservesPitch=true | ||
PASS Slow-downs should not change the pitch when preservesPitch=true | ||
FAIL Speed-ups should change the pitch when preservesPitch=false assert_approx_equals: The actual pitch should be close to the expected pitch. expected 880 +/- 21.55425219941349 but got 452.63929618768327 | ||
FAIL Slow-downs should change the pitch when preservesPitch=false assert_approx_equals: The actual pitch should be close to the expected pitch. expected 220 +/- 21.55425219941349 but got 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters