- From: Michael van Ouwerkerk <notifications@github.com>
- Date: Fri, 17 Apr 2015 08:32:10 -0700
- To: w3c/push-api <push-api@noreply.github.com>
Received on Friday, 17 April 2015 15:33:03 UTC
The promise for `hasPermission` is resolved with an enum, not a boolean. This seems slightly inconsistent, `hasPermission` suggests a boolean. I suggest we rename it to `getPermission`. @annevk suggested renaming it to `permission` as that's what the Notifications API facility is called. But in the Notifications API it is a property, not a method, and method names should really be verbs. Anne, what do you think? CC @beverloo --- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/issues/136
Received on Friday, 17 April 2015 15:33:03 UTC