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

>          </p>
>          <p>
>            If a permission state is present for access to some, but not all,
> -          cameras, a query without the {{deviceId}} will return {{"prompt"}}.
> +          cameras, a query without the {{DevicePermissionDescriptor/deviceId}}
> +          will return {{"prompt"}}.
> +        </p>
> +        <p class="issue" id="issue-media-granted">
> +          It may not make sense for `{name: "camera"}`'s <a>permission state</a>
> +          to ever be {{"granted"}}: if the site calls
> +          {{MediaDevices/getUserMedia()}} with constraints that none of the
> +          user's devices satisfy, the UA cannot return a device without
> +          prompting, but saying {{"granted"}} promised to do so.

How's 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#r64837260

Received on Thursday, 26 May 2016 23:19:44 UTC