Open Bug 1505044 Opened 6 years ago Updated 1 year ago

Ship Notification.silent on release

Categories

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

65 Branch
Desktop
macOS
enhancement

Tracking

()

Tracking Status
firefox65 --- affected

People

(Reporter: jonalmeida, Unassigned)

References

(Blocks 1 open bug)

Details

STR:
1. Open a Slack group and turn the notification sound to 'hummus'.
2. Have someone or slackbot (reminder) send you a notification.
3. Observe.

Expected:
1. To only hear the notification 'Hummus'.

Actual:
1. I hear the notification bell mixed in, and I'm not able to hear the Hummus.

Comparing this to other browsers, the Hummus is not drowned out by a notification bell.
Is this mac-specific or not?
Component: General → Notifications and Alerts
Flags: needinfo?(jonalmeida942)
Product: Firefox → Toolkit
Slack must be playing the sound itself as we don't support sounds as part of the notification API. Maybe they are using the `silent` option that we don't support to silence the default sound in other browsers? See bug 1073717.

It would be awesome if you could debug their JS to see what arguments they are creating the notification with.
Priority: -- → P3
(In reply to :Gijs (he/him) from comment #1)
> Is this mac-specific or not?

I've only tested this issue on a Mac so for now, I'd have to say yes.
Flags: needinfo?(jonalmeida942)
Severity: normal → S3
Component: Notifications and Alerts → Alerts Service
Component: Alerts Service → DOM: Notifications
Product: Toolkit → Core
Type: defect → enhancement
Summary: If a notification has it's own custom sound, suppress default bell → Support Notification.silent
Depends on: 1696145
Summary: Support Notification.silent → Ship Notification.silent on release
You need to log in before you can comment on or make changes to this bug.