- From: Mounir Lamouri <notifications@github.com>
- Date: Thu, 05 Mar 2015 07:48:56 -0800
- To: w3c/permissions <permissions@noreply.github.com>
Received on Thursday, 5 March 2015 15:49:28 UTC
@marcoscaceres I don't thnk ```dismissed``` is a state of the permission. It's a result of the request. If what you want is to be able to know whether the user dismissed the permission, in an ideal world, you could do: ```js Permissions.request('foo').then(function(p) { if (p.status === 'prompt') { // permission was dismissed or ignored } [...] }); ``` Obviously, we can't do that now because we do not expose a ```.request()``` method. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/issues/4#issuecomment-77388068
Received on Thursday, 5 March 2015 15:49:28 UTC