Open Bug 1834005 Opened 2 years ago Updated 10 months ago

Notifications API should default "silent" to platform convention

Categories

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

defect

Tracking

()

UNCONFIRMED

People

(Reporter: marcos, Unassigned)

Details

(Keywords: parity-safari)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15

Steps to reproduce:

const x = new Notification("a")

Actual results:

x.silent is false.

Expected results:

As per this pull request:
https://github.com/whatwg/notifications/pull/194

x.silent should be null.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Notifications and Alerts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Notifications and Alerts
Product: Firefox → Toolkit
Component: Notifications and Alerts → DOM: Core & HTML
Product: Toolkit → Core

(Seems like DOM: Push Notifications would be proper component, but feel free to bounce back if I am incorrect)

Component: DOM: Core & HTML → DOM: Push Notifications

I think Notification https://notifications.spec.whatwg.org/ and Push https://w3c.github.io/push-api/ are separate, right? And I think this is for the former.

Flags: needinfo?(echen)

Now this component has been renamed to DOM: Notification and covers both the Notification and Push Notification APIs.

Flags: needinfo?(echen)

Woohoo, sound cool!

Severity: -- → S3
Priority: -- → P3
Component: DOM: Push Subscriptions → DOM: Notifications
Keywords: parity-safari
You need to log in before you can comment on or make changes to this bug.