Re: [push-api] PushSubscription should have an attribute for ExpirationTime (#86)

The pushsubscriptionchange event is great when the device is powered on at the right time and is on the network to receive the push server subscription expiration message.  

There is another assumption that the device is always able to launch the Service Worker and possibly the webapp to complete the subscription update operation, which likely involves a trip to the web server.  Otherwise, the service might be interrupted. 

Giving more info to the webapp will help developers make better decisions for the user experience.

It might be helpful to think along the same direction for the encryption case.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/86#issuecomment-70534434

Received on Monday, 19 January 2015 17:55:39 UTC