Re: [push-api] .getRegistration() should not reject if there is no registration (but return a null object) (#96)

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?  Is this because the push server is down?  Is this because you haven't got consent?  Error codes determine what steps need to be taken to correct the error.

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

Received on Monday, 15 December 2014 18:31:09 UTC