Re: [permissions] A "dismissed" state (#4)

@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