Re: [w3c/permissions] Editorial fixes (#100)

> -      user's intent. Subsequent uses of |descriptor|'s <a>permission state</a>
> -      with the same <a>current settings object</a> must return the same value,
> -      unless the UA receives <a>new information about the user's intent</a>.
> +      |descriptor|'s <dfn export lt="permission state|state">permission state
> +        </dfn> is one of {{"granted"}}, {{"prompt"}}, or {{"denied"}},
> +      indicating respectively if the calling algorithm should:
> +    </p>
> +
> +    <ul>
> +      <li>succeed without prompting the user ({{"granted"}}),</li>
> +      <li>show the user a prompt to decide whether to succeed ({{"prompt"}}),</li>
> +      <li>or fail without prompting the user ({{"denied"}}).</li>
> +    </ul>
> +
> +    <p>
> +      The UA returns whichever of these values most accurately reflects the user's

I think this should stay "must return". It's intended to constrain the UA, not just state a fact about what UAs do.

---
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/100/files/59690558b17cbc2a5618b8adc36ef93888d7d8b7#r70549629

Received on Wednesday, 13 July 2016 00:58:03 UTC