- From: John Mellor <notifications@github.com>
- Date: Thu, 07 Jul 2016 09:29:39 -0700
- To: w3c/push-api <push-api@noreply.github.com>
- Cc:
Received on Thursday, 7 July 2016 16:30:45 UTC
The `serviceWorkerRegistration.pushManager.subscribe(...)` and `getSubscription()` promises are always resolved with a new `PushSubscription` object containing a snapshot of the subscription at that point in time. This in turn owns a `[SameObject] readonly attribute PushSubscriptionOptions options`. Since `PushSubscription` objects are thus somewhat ephemeral, it actually seems pretty reasonable to allow the author to mutate the `applicationServerKey` or post it to a worker without copying. Thanks all - I'll send out a PR to replace `[Throws]` with `[SameObject]`. --- 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/198#issuecomment-231133167
Received on Thursday, 7 July 2016 16:30:45 UTC