You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that Permissions should be able to return "prompt" as well (e.g., when the user dismisses the prompt in that manner), which we'd then translate to "default".
https://notifications.spec.whatwg.org/#dom-notification-requestpermission
And the Permissions term: https://w3c.github.io/permissions/#dfn-request-permission-to-use
But in reality the static function can return
"default"
too:"default"
when the function is called without transient user activation"default"
when the prompt is closed by clicking X button(Safari returns
"denied"
when without transient user activation, but that's weird because it disagrees withNotification.permission
then.)Should we have an optional step that covers transient user activation #108 ? The Chrome case should probably be covered in Permissions spec instead.
The text was updated successfully, but these errors were encountered: