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
But I don't see how that's mapped in the spec. As Service Worker spec requires transient user activation for WindowClient.focus and WindowClient.openWindow, the notification spec should also say something about transient user activation.
The HTML spec has activation triggering input event which lists keydown/mousedown/pointerdown/pointerup/touchend. Maybe that list should be extended and cover ServiceWorker too?
What is the issue with the Notifications API Standard?
Browsers have some code to handle focus/popup from notification click:
But I don't see how that's mapped in the spec. As Service Worker spec requires transient user activation for WindowClient.focus and WindowClient.openWindow, the notification spec should also say something about transient user activation.
The HTML spec has activation triggering input event which lists keydown/mousedown/pointerdown/pointerup/touchend. Maybe that list should be extended and cover ServiceWorker too?
cc @smaug----
The text was updated successfully, but these errors were encountered: