[webkit-changes] [WebKit/WebKit] 32965c: [iOS 17] AdvancedPrivacyProtections.AddNoiseToWebA...
Wenson Hsieh
noreply at github.com
Wed Aug 23 14:03:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 32965cbc22aadcd07512035fa16ebb89c1b007f5
https://github.com/WebKit/WebKit/commit/32965cbc22aadcd07512035fa16ebb89c1b007f5
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2023-08-23 (Wed, 23 Aug 2023)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebKit/AdvancedPrivacyProtections.mm
Log Message:
-----------
[iOS 17] AdvancedPrivacyProtections.AddNoiseToWebAudioAPIs fails after 265168 at main
https://bugs.webkit.org/show_bug.cgi?id=260618
Reviewed by Tim Horton.
After the changes in 265168 at main, this API test fails because the `testOscillatorCompressorWorklet`
step requires user activation after triggering the initial async function call in order to begin
producing "sound" (really, an inaudible audio signal), which the test then waits for; avoid this
issue altogether by using `-[WKWebViewConfiguration setMediaTypesRequiringUserActionForPlayback:]`
to allow web audio to play back regardless of user activation.
* Tools/TestWebKitAPI/Tests/WebKit/AdvancedPrivacyProtections.mm:
Canonical link: https://commits.webkit.org/267200@main
More information about the webkit-changes
mailing list