- From: Kit Cambridge <notifications@github.com>
- Date: Thu, 29 Dec 2016 16:39:30 -0800
- To: w3c/push-api <push-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/push-api/pull/234/review/14725483@github.com>
kitcambridge commented on this pull request. > + </pre> + <p> + The <dfn>newSubscription</dfn> attribute contains the details of the + <a>push subscription</a> that is valid per invocation of the <a>pushsubscriptionchange</a> + event. The value will be <code>null</code> when no new <a>push subscription</a> could be + established, for example because the <a>webapp</a> has lost <a>express permission</a>. + </p> + <p> + The <dfn>oldSubscription</dfn> attribute contains the details of the + <a>push subscription</a> that SHOULD NOT be used anymore. The value will be + <code>null</code> when the <a>user agent</a> is not able to provide the full set of + details, for example because of partial database corruption. + </p> + <p class="issue"> + Should we include an attribute that indicates whether the <code>oldSubscription</code> + has been decisively invalidated? How would developers use this information? I agree. Allowing the old subscription to briefly receive messages is helpful, but I don't think we want folks depending on it. -- 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/pull/234
Received on Friday, 30 December 2016 00:40:05 UTC