Bug 256828

Summary: Notifications API: default silent to platform convention
Product: WebKit Reporter: Marcos Caceres <marcosc>
Component: WebCore Misc.Assignee: Marcos Caceres <marcosc>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Marcos Caceres 2023-05-15 23:33:39 PDT
The NotificationOptions dictionary specifies boolean silent=false; by default.

That default can conflict with certain platforms/OSs, whereby if a notification is silent (or not) should really be left up to OS.

Spec change:
https://github.com/whatwg/notifications/pull/194

The proposal makes the silent member on the NotificationOption dictionary default to null. This is then reflected by the silent attribute of the Notification interface.
Comment 1 Radar WebKit Bug Importer 2023-05-15 23:34:37 PDT
<rdar://problem/109390045>
Comment 2 Marcos Caceres 2023-05-15 23:36:22 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13912
Comment 3 EWS 2023-05-22 20:12:28 PDT
Committed 264397@main (bb5a5fbce2e9): <https://commits.webkit.org/264397@main>

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