Re: [w3c/push-api] Mention or enforce userVisibleOnly check in PushManager.subscribe? (#339)

We should also mention what's [described in MDN](https://developer.mozilla.org/en-US/docs/Web/API/Push_API):

> Activating a service worker to deliver a push message can result in increased resource usage, particularly of the battery. Different browsers have different schemes for handling this, there is currently no standard mechanism. Firefox allows a limited number (quota) of push messages to be sent to an application, although Push messages that generate notifications are exempt from this limit. The limit is refreshed each time the site is visited. In Chrome there are no limits.

In particular, we should describe that the UA can take action if a push event is received and, for example, no notification is shown (c.f. the subscription might get cancelled, as is the case in Safari I think).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/339#issuecomment-1150670950
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/push-api/issues/339/1150670950@github.com>

Received on Thursday, 9 June 2022 04:58:57 UTC