Re: [w3c/permissions] Give the UA permission to return anything it wants from query(). (#97)

> -      Takes the previously-stored instance of the <a>permission storage
> -      type</a>, an instance of the <a>permission descriptor type</a>,
> -      and a newly-created instance of the <a>permission result type</a>.
> -      Shows the user any necessary prompt to try to increase permissions,
> -      and updates the instances of the <a>permission storage type</a> and
> -      <a>permission result type</a> to match. May return a {{Promise}}
> -      if the request can fail exceptionally. (Merely being denied
> -      permission is not exceptional.) Used by {{Permissions}}'
> -      {{Permissions/request()}} method, which handles
> -      reading and writing the <a>permission store</a>. If unspecified, this
> -      defaults to the <a>boolean permission request algorithm</a>.
> +      Takes an instance of the <a>permission descriptor type</a> and a
> +      newly-created instance of the <a>permission result type</a>. Uses the
> +      algorithms in <a href="#requesting-more-permission"></a> to show the user
> +      any necessary prompt to try to increase permissions, and updates the
> +      instance <a>permission result type</a> to match. May return a {{Promise}}

Wait! it would be kinda sad if some callers returned a Promise an others don't. This appears to be what is implied here, or am I misreading this? 

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/97/files/247f065b3c9d8d80a94fefbcee1b83488700000c#r64691558

Received on Thursday, 26 May 2016 04:56:18 UTC