Support serviceWorkerRegistration.showNotification/Notification `action` option
Categories
(Core :: DOM: Notifications, enhancement, P3)
Tracking
()
People
(Reporter: ahochhaus, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
- Use
serviceWorkerRegistration.showNotification()
withoptions.actions
For example: https://developers.google.com/web/fundamentals/push-notifications/
Actual results:
- The notification does not contain the "Yes" / "No" action buttons
Expected results:
- The notification should the "Yes" / "No" action buttons (Chrome currently does not)
- The notification should the "Yes" / "No" action buttons (Chrome currently does not)
I intended to say that Chrome currently does display the action buttons in the notification.
Hi,
I don't have the technical knowledge to confirm this issue but I'll add product and component so the team can make some research on it. Hopefully, someone with a more deep understanding of this matter can help. Feel free to route this ticket to the corresponding team.
Regards,
Jerónimo.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Bug 1225110 is the canonical bug for this issue. I've filed bug 1658331 as an intermediary dependency in the "DOM: Push Notifications" component (which is the most appropriate place for tracking the API issue from an implementation perspective, but this component is the most likely place people would look for an existing bug, and bug 1225110 on getting all of the per-platform UI stuff implemented is where all the hard work is).
Because of the cross-component nature of the enhancement and necessary UX involvement this likely requires product management coordination. Setting a needinfo for Adam for product, as I don't think this is currently on our roadmap, but more significantly would really need to be on the browser frontend roadmap to do the heavy lifting.
Comment 4•5 years ago
|
||
(Resetting the needinfo since I don't think Jerónimo wants to be tracked as the requestor of the needinfo. I'd missed that Jens didn't originate the needinfo.)
Updated•8 months ago
|
Description
•