Closed Bug 1646783 Opened 5 years ago Closed 8 months ago

Support serviceWorkerRegistration.showNotification/Notification `action` option

Categories

(Core :: DOM: Notifications, enhancement, P3)

77 Branch
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1225110

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() with options.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.

Component: Untriaged → DOM: Service Workers
Flags: needinfo?(jstutte)
Product: Firefox → Core
Flags: needinfo?(jstutte) → needinfo?(bugmail)

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.

Severity: -- → S3
Flags: needinfo?(bugmail) → needinfo?(astevenson)
Priority: -- → P3

(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.)

Flags: needinfo?(astevenson)
Status: UNCONFIRMED → RESOLVED
Closed: 8 months ago
Component: DOM: Service Workers → DOM: Notifications
Duplicate of bug: 1225110
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.