- From: Jake Archibald <notifications@github.com>
- Date: Mon, 15 Dec 2014 11:45:29 -0800
- To: w3c/push-api <push-api@noreply.github.com>
Received on Monday, 15 December 2014 19:45:58 UTC
> If getRegistration() fails, one advantage of a rejection is that it gives you somewhere to hang the meta-information about that failure: is this because you are on an http:// origin? That won't happen, as this API sits on the ServiceWorker registration, which requires https. But yes, if there's a failure to even find out there's no registration, that should be a rejection (as it would be a throw in sync code). --- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/issues/96#issuecomment-67052903
Received on Monday, 15 December 2014 19:45:58 UTC