WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
280162
Notifications API: support for the `icon` option
https://bugs.webkit.org/show_bug.cgi?id=280162
Summary
Notifications API: support for the `icon` option
ik
Reported
2024-09-22 13:54:19 PDT
Created
attachment 472634
[details]
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.
Attachments
Screenshot of the same notifications on Android (with custom icon) and iOS (with default app icon)
(28.51 KB, image/webp)
2024-09-22 13:54 PDT
,
ik
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-09-29 13:55:15 PDT
<
rdar://problem/136934185
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug