From f1921ca607f7b9d1176a7b9230ea43f0dfebbf14 Mon Sep 17 00:00:00 2001
From: Anne van Kesteren
far as possible, and subject to meeting that goal, to protect the integrity of the
application server's communication with the user.
- User agents MUST NOT provide Push API access to web applications without the - express permission of the user. User agents MUST acquire consent for - permission through a user interface for each call to the `subscribe()` method, unless a - previous permission grant has been persisted, or a prearranged trust relationship applies. - Permissions that are preserved beyond the current browsing session MUST be revocable. -
The Push API may have to wake up the Service Worker associated with the service worker registration in order to run the developer-provided event handlers. This can cause @@ -968,12 +961,6 @@
- User agents MUST implement the Push API to only be available in a [=secure - context=]. This provides better protection for the user against man-in-the-middle attacks - intended to obtain push subscription data. Browsers may ignore this rule for development - purposes only. -