8000 Are notification click events handled as "activation triggering input event"? · Issue #223 · whatwg/notifications · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
Are notification click events handled as "activation triggering input event"? #223
Open
@saschanaz

Description

@saschanaz

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

Met 36ED adata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0