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----
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----