Open
Description
What is the issue with the Notifications API Standard?
I just found that both Firefox and Safari associate the notifications with the scope instead for getNotifications()
, while the spec says:
https://notifications.spec.whatwg.org/#dom-serviceworkerregistration-getnotifications
Let notifications be a list of all notifications in the list of notifications whose origin is same origin with origin, whose service worker registration is this, and whose tag, if tag is not the empty string, is tag.
Blink does the association as the spec says, and closes all the notifications when the SW is unregistered. I'm adding a tentative test in https://phabricator.services.mozilla.com/D202612 for Gecko/WebKit behavior as that's the majority, but worth a discussion.
Metadata
Metadata
Assignees
Labels
No labels