[Web Notifications] Add support for "silent" notifications on desktop
Categories
(Core :: DOM: Notifications, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: mikehenrty, Assigned: MattN)
References
(Blocks 3 open bugs, )
Details
(Whiteboard: [systemsfe])
Attachments
(4 files, 3 obsolete files)
(deleted),
text/x-phabricator-request
|
Details | |
Bug 1073717 - [Web Notifications] Add support for "silent" toast notifications on Windows. r=mhowell
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details | |
(deleted),
text/x-phabricator-request
|
Details |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment 2•10 years ago
|
||
Michael is there any way I can test whether a sound was played?
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment 9•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Comment 10•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Assignee | ||
Comment 11•5 years ago
|
||
I got annoyed at hearing the macOS notification sound every time Google Play Music played a new track (because I enabled notification to see the song name) so I'm taking this. I think it only affects macOS for now.
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=679a9f27af26b404fc2edd3065ab4109185a87d5
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 12•5 years ago
|
||
Test page: https://bugs.mattn.ca/w3c_notifications.htm
Assignee | ||
Updated•5 years ago
|
Comment 13•4 years ago
|
||
I am use notification for the transit prediction website TransSee https://www.transsee.ca/ My notifications updates themselves every 10 seconds and would benefit from the silent option.
However I think the deeper problem is that when a notification is updated (by doing a showNotification with the same tag as a previous notification) Firefox is closing and opening a new notification rather then updating the existing notification like Chrome does. This can be seen in that fact that Firefox triggers the notificationclose event every time a notification is updated, unlike Chrome (which I had to work around).
Comment 14•4 years ago
|
||
(In reply to Matthew N. [:MattN] from comment #11)
I got annoyed at hearing the macOS notification sound every time Google Play Music played a new track (because I enabled notification to see the song name) so I'm taking this. I think it only affects macOS for now.
It also affects Android. Silent notifications shouldn't cause vibrations and lighting up of the screen.
Assignee | ||
Comment 15•3 years ago
|
||
(In reply to bop from comment #14)
(In reply to Matthew N. [:MattN] from comment #11)
I got annoyed at hearing the macOS notification sound every time Google Play Music played a new track (because I enabled notification to see the song name) so I'm taking this. I think it only affects macOS for now.
It also affects Android. Silent notifications shouldn't cause vibrations and lighting up of the screen.
This was implemented for Android in bug 1696145 but is currently limited to Nightly builds.
Assignee | ||
Comment 16•3 years ago
|
||
Assignee | ||
Comment 17•3 years ago
|
||
Depends on D119590
Assignee | ||
Comment 18•3 years ago
|
||
Depends on D119591
Assignee | ||
Comment 19•3 years ago
|
||
Depends on D119592
Assignee | ||
Comment 20•3 years ago
|
||
Test page: https://bugs.mattn.ca/w3c_notifications.htm (Set the pref dom.webnotifications.silent.enabled
to true
)
:agi, are there any blockers to shipping silent notifications outside of Nightly on Android?
Comment 22•3 years ago
|
||
Any word on merging this PR? Been waiting 5+ years for this, looks like the PR is ready to go.
D119590 has been there over a year since accepted, any reason why it's not landing?
Assignee | ||
Comment 24•2 years ago
|
||
Only the macOS portion was accepted. I hadn't got around to re-testing the patches on Linux and Windows since I wrote these patches years ago. I rebased now and will try to test on Windows and Linux when I have a chance. If someone else has time to test and review them sooner then that would be great.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 25•2 years ago
|
||
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/autoland/rev/9e5e59c9399b [Web Notifications] Add support for "silent" notifications on macOS. r=mstange https://hg.mozilla.org/integration/autoland/rev/cf0dac184d52 [Web Notifications] Add support for "silent" toast notifications on Windows. r=mhowell https://hg.mozilla.org/integration/autoland/rev/f6c8c0c6f87b [Web Notifications] Add support for "silent" notifications with libnotify. r=stransky https://hg.mozilla.org/integration/autoland/rev/d2da482646eb [Web Notifications] Enable desktop support for "silent" notifications on Nightly r=saschanaz
Comment 26•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9e5e59c9399b
https://hg.mozilla.org/mozilla-central/rev/cf0dac184d52
https://hg.mozilla.org/mozilla-central/rev/f6c8c0c6f87b
https://hg.mozilla.org/mozilla-central/rev/d2da482646eb