Notification pushed by WebPush does not play alert sound both on iOS and macOS. And here is a demo to reoccur this issue. https://bugs.webkit.org/show_bug.cgi?id=252544#c3
<rdar://problem/107424158>
WebKit itself does not display notifications, and cannot affect whether or not sound plays. But for clients to be able to make the "sound or silent?" decision, WebKit needs to pass along the silent flag from NotificationOptions. Let's do that here. Retitling to: WebKit needs to pass along NotificationOptions.silent to API clients
Pull request: https://github.com/WebKit/WebKit/pull/12953
Committed 263184@main (c33fee9a5907): <https://commits.webkit.org/263184@main> Reviewed commits have been landed. Closing PR #12953 and removing active labels.