Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 32965cbc22aadcd07512035fa16ebb89c1b007f5
      
https://github.com/WebKit/WebKit/commit/32965cbc22aadcd07512035fa16ebb89c1b007f5
  Author: Wenson Hsieh <wenson_hs...@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@main
https://bugs.webkit.org/show_bug.cgi?id=260618

Reviewed by Tim Horton.

After the changes in 265168@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to