Open Bug 1417848 Opened 7 years ago Updated 7 months ago

Implement requireInteraction in notifications API for WebExtensions

Categories

(WebExtensions :: Frontend, enhancement, P5)

56 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: robwu, Unassigned)

References

Details

(Whiteboard: [design-decision-approved])

Extensions are currently not able to create sticky notifications with the browser.notifications API. Chrome supports the requireInteraction parameter in chrome.notifications [1], and the web platform also has a "requireInteraction" option in the Notification constructor (implemented in bug 862395). Can the WebExtension API also support this option, possibly after the backend changes for requireInteraction are complete (bug 1417846)? [1] https://developer.chrome.com/extensions/notifications#property-NotificationOptions-requireInteraction
Priority: -- → P5
Whiteboard: [design-decision-needed]
Severity: normal → enhancement
This would be great - I'm getting quite a few requests for "sticky notifications" from WebExtension users.
Hi Rob, this has been added to the agenda for the WebExtensions APIs triage on April 17, 2018. Anyone who is interested in this bug is welcome to join us. Here’s a quick overview of what to expect at the triage: * We normally spend 5 minutes per bug * The more information in the bug, the better * The goal of the triage is to give a general thumbs up or thumbs down on a proposal; we won't be going deep into implementation details Relevant Links: * Wiki for the meeting: https://wiki.mozilla.org/WebExtensions/Triage#Next_Meeting * Meeting agenda: https://docs.google.com/document/d/1A7lwSkunTIdPE8FGqYV93oO-2l8xo3GFqTbY1l1QC1w/edit# * Vision doc for WebExtensions: https://wiki.mozilla.org/WebExtensions/Vision
Moving this request to Approved, but it still depends on the underlying backend implementation to be completed.
Whiteboard: [design-decision-needed] → [design-decision-approved]
Product: Toolkit → WebExtensions
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.