Add a warning about the reliability of the notificationclose event#111
Add a warning about the reliability of the notificationclose event#111beverloo wants to merge 1 commit intowhatwg:mainfrom
Conversation
Not all platforms dispatch an event to the applications (e.g. the user agent) when a notification is dismissed, or only do so in a subset of cases. This means that the `notificationclose` event is a best-effort event. It adds significant value to the developer, as dismissal is a powerful (yet complicated) signal, so user agents should still make an effort to support it where they can. Fixes whatwg#109
|
The proposed change leaves the RFC 2119 MUST in place, though. I don't think this change is sufficient. |
|
Just changing the Instead, maybe we should somehow rephrase the event dispatching section (2.8.2.) to be limited to situations where the UA does know in a timely manner? |
|
Maybe something like:
|
Not all platforms dispatch an event to the applications (e.g. the user
agent) when a notification is dismissed, or only do so in a subset of
cases. This means that the
notificationcloseevent is a best-effortevent. It adds significant value to the developer, as dismissal is a
powerful (yet complicated) signal, so user agents should still make an
effort to support it where they can.
Fixes #109
Preview | Diff