Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS 17] AdvancedPrivacyProtections.AddNoiseToWebAudioAPIs fails after 265168@main #16985

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

whsieh
Copy link
Member

@whsieh whsieh commented Aug 23, 2023

32965cb

[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

7bd9900

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug   πŸ§ͺ wpe-wk2
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ›  gtk
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ§ͺ mac-wk1   πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv   πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  tv-sim
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch
βœ… πŸ›  watch-sim

@whsieh whsieh self-assigned this Aug 23, 2023
@whsieh whsieh added the Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases label Aug 23, 2023
@whsieh whsieh added the merge-queue Applied to send a pull request to merge-queue label Aug 23, 2023
@whsieh
Copy link
Member Author

whsieh commented Aug 23, 2023

Thanks for the review!

…r 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-commit-queue
Copy link
Collaborator

Committed 267200@main (32965cb): https://commits.webkit.org/267200@main

Reviewed commits have been landed. Closing PR #16985 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 32965cb into WebKit:main Aug 23, 2023
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Aug 23, 2023
@whsieh whsieh deleted the eng/260618 branch August 23, 2023 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases
Projects
None yet
4 participants