Note: There are a few cases of duplicates in user autocompletion which are being worked on.

Add silent option for WebExtension Notifications




WebExtensions: General
6 months ago
2 months ago


(Reporter: Samuel Jun, Unassigned)


51 Branch

Firefox Tracking Flags

(Not tracked)


(Whiteboard: [design-decision-approved][triaged][notifications])



6 months ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170126200443

Steps to reproduce:

I would like to be able to create silent WebExtension notifications so that I can trigger my own audio file for a consistent experience on all platforms. On Linux, Firefox doesn't automatically trigger the desktop environment notification sound. On Mac, Firefox does automatically trigger the desktop environment notification sound.

Since my addon acts as a timer, a notification as well as a notification sound is highly useful. The problem is that if I play a notification sound when the notification is created, the MacOS notification chime plays on top of my own notification sound.
I imagine the option would very similar to the silent option for the Web API notifications:


6 months ago
Component: WebExtensions: Untriaged → WebExtensions: General
Whiteboard: [design-decision-needed][triaged]


5 months ago
Whiteboard: [design-decision-needed][triaged] → [design-decision-needed][triaged][notifications]

Comment 1

2 months ago
I don't have much of a problem with this, however we just wrap nsIAlertsService and that doesn't have the silent option, if my reading of is correct.

I'm not sure how much code nsIAlertsService and Web API share.
Whiteboard: [design-decision-needed][triaged][notifications] → [design-decision-approved][triaged][notifications]
You need to log in before you can comment on or make changes to this bug.