Open Bug 1789736 Opened 4 years ago Updated 3 years ago

Updating Notification with tag closes it on OS X; (On OS X replacement closes the old notification and replaces it with a new one instead of updating the existing notification)

Categories

(Toolkit :: Alerts Service, defect)

Firefox 104
Unspecified
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: cpmsmith, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0

Steps to reproduce:

In a context with web notification permission, run this:

new Notification("original title", { tag: "foobar" });
setTimeout(() => {
  new Notification("updated title", { tag: "foobar" });
}, 200);

…to open a notification, then update its title after 200ms.

macOS 12.3.1

Actual results:

The notification appears briefly, but is closed when it gets updated.

Expected results:

The notification should have been updated while remaining open.

Component: Untriaged → DOM: Push Notifications
OS: Unspecified → macOS
Product: Firefox → Core

The bugzilla component situation is a little awkward here, but in general I understand the situation here to be:

Component: DOM: Push Notifications → Notifications and Alerts
Product: Core → Toolkit
Summary: Updating Notification with tag closes it → Updating Notification with tag closes it on OS X; (On OS X replacement closes the old notification and replaces it with a new one instead of updating the existing notification)

The severity field is not set for this bug.
:tspurway, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(tspurway)
Severity: -- → S3
Flags: needinfo?(tspurway)
Component: Notifications and Alerts → DOM: Notifications
Product: Toolkit → Core
Component: DOM: Notifications → Alerts Service
Product: Core → Toolkit
You need to log in before you can comment on or make changes to this bug.