[Webkit-unassigned] [Bug 280162] New: Notifications API: support for the `icon` option
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 22 13:54:19 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=280162
Bug ID: 280162
Summary: Notifications API: support for the `icon` option
Product: WebKit
Version: Safari 18
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Service Workers
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ik at rejh.nl
CC: youennf at gmail.com
Created attachment 472634
--> https://bugs.webkit.org/attachment.cgi?id=472634&action=review
Screenshot of the same notifications on Android (with custom icon) and iOS (with default app icon)
MDN lists the Notifications API's `icon` option as supported in iOS Safari 16.4 but the notifications always show the default app icon (declared in the manifest).
I used Peter Beverloo's excellent Notification Generator and some additional local testing to confirm my findings:
https://tests.peter.sh/notification-generator/
MDN compat table:
https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API#browser_compatibility
MDN `icon`:
https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon
Screenshot of the same notifications on Android (with custom icon) and iOS (with default app icon) attached.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240922/79d8b246/attachment.htm>
More information about the webkit-unassigned
mailing list