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

> +  <p>
> +    Other specifications can also add more constraints on the UA's behavior in
> +    these algorithms.
> +  </p>
> +
> +  <p>
> +    Within this section, |descriptor| is an instance of the <a>permission
> +    descriptor type</a> of the powerful feature named by
> +    <code>|descriptor|.{{PermissionDescriptor/name}}</code>.
> +  </p>
> +
> +  <section>
> +    <h3 id="reading-current-states">Reading the current permission state</h3>
> +    <p>
> +      |descriptor|'s <dfn export>permission state</dfn> is one
> +      of {{"granted"}}, {{"prompt"}}, or {{"denied"}}, indicating respectively

I don't think we can ever update the enum once it's escaped into the web. Too many people will test for two of the states and `else` the third.

Similarly, updating this list will be the least of our worries if we change an enum value: we'll also have to update all of the callers in other specs.

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

Received on Thursday, 26 May 2016 21:52:03 UTC