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

> +    </p>
> +  </div>
> +</section>
> +<section>
> +  <h2 id="permission-operations">Permission states</h2>
> +  <p>
> +    The user agent is responsible for tracking what powerful features each
> +    <a>realm</a> has the user's permission to use. Other specifications can use
> +    the operations defined in this section to retrieve the UA's notion of what
> +    permissions are granted or denied, and to ask the user to grant or deny more
> +    permissions.
> +  </p>
> +
> +  <p>
> +    Other specifications can also add more constraints on the UA's behavior in
> +    these algorithms.

What kind of hook would read better to you? It really is the case that other specs need to be able to modify the values these algorithms can return, and you can see some examples under push, media, and persistent-storage.

---
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#r64826688

Received on Thursday, 26 May 2016 21:46:55 UTC