Primary eng (and PM) emails
mig...@chromium.org, rse...@chromium.org, owe...@chromium.org, pe...@chromium.org
Summary
Removal of the `image` property for Notifications on Mac OS X
Motivation
We’re migrating notifications for Mac OS X users from Chrome’s own notification system to using the system’s Notification Center. This creates for a much nicer user experience that’s integrated with the rest of the operating system, and enables notifications to stick around in the notification center. Settings like Do Not Disturb will be respected too.
All other major browsers on Mac OS X (Safari, Firefox, Opera) already use the system’s Notification Center.
You can try out support by enabling support for native notifications in Chrome Canary:
chrome://flags#enable-native-notifications
And playing with the notification settings available on:
https://tests.peter.sh/notification-generator/
Compatibility And Interoperability Risk
The interoperability impact is two-folded. Since other browsers already use the system’s Notification Center, this will align the major browsers on Mac OS X. However, as is currently the case on Android, it introduces differences between the different platforms Chrome can run on.
From a compatibility point of view, the big image feature for notification is meant to be decorative, and nothing will break if we stop supporting the property— the image will just stop showing up. At time of writing, 0.2% of Web Notifications shown on Mac OS X include one.
Moving to the system’s Notification Center also brings a different appearance, which means that there’s less space for the developer-provided text, the icon will be displayed at a smaller size and action buttons will be hidden behind an overflow menu, without icons. Removing the `image` property will give developers a way to feature detect this, albeit somewhat hacky.
Edge: Shipped system notification support, has not shipped big image
Firefox: Shipped system notification support, has not shipped big image
Safari: Shipped system notification support, has not shipped big image
Web developers: Neutral
Alternative implementation suggestion for web developers
Convey the same information in the icon, the notification’s text or on a landing page after the user clicks on the notification.
Tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=326539
https://bugs.chromium.org/p/chromium/issues/detail?id=571056
Entry on the feature dashboard
https://www.chromestatus.com/feature/5689068222414848
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/53e4a2c5-245c-4c2c-afa3-2dcf2524f0c9%40chromium.org.