- From: Peter Beverloo <notifications@github.com>
- Date: Thu, 28 Jan 2016 07:35:35 -0800
- To: w3c/push-api <push-api@noreply.github.com>
Received on Thursday, 28 January 2016 15:36:32 UTC
One question that came to mind - developers tend to call subscribe() multiple times, also as a means to get an existing subscription, since the API only supports once. What happens when calling subscribe() with an `applicationServerKey` that differs from the subscription that's currently stored by the UA? Should we throw an error? `InvalidAccessError` sounds most appropriate, but `NoModificationAllowedError` (less common) might also work. Happy to address this in a follow-up. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/pull/182#issuecomment-176238989
Received on Thursday, 28 January 2016 15:36:32 UTC