Re: [w3c/push-api] Propose enabling background sync from `pushsubscriptionchange` events (#240)

Firefox doesn't implement background sync yet, but you can follow [this bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1217544) if you'd like. IIUC, step 6 in the [`SyncManager.register` algorithm](https://wicg.github.io/BackgroundSync/spec/#sync-manager-interface) means you can't register a background sync from either handler when the page isn't active. That restriction can be lifted, though, and a `push` event might be a good opportunity to show a notification and schedule a sync for a later time.

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

Received on Monday, 1 May 2017 01:39:23 UTC