Re: [permissions] Mediacapture permissions (#57)

> +     PermissionDescriptor'>
> +   <dt>
> +     DOMString deviceId
> +   </dt>
> + </dl>
> + <p>A permission covers access to the device given in the
> + associated descriptor.
> + </p>
> + <p>
> +   If the descriptor does not have a deviceId, its semantic is that
> +   it queries for access to any device of that class.
> + </p>
> + <p>
> +   If the deviceId is the special string "*", it queries for
> +   access to all devices of that class, whether they exist
> +   at the moment or are attached at a later time. When such a

"all" by default concerns me because it could create issues for browsers that don't do all by default with getUserMedia() calls. However, with permissions.request() we could make this behaviour clearer.

martinthomson@, if you are fine with the possible compat issues that Firefox could run into, I'm fine with removed the distinction between "any" and "all".

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/57/files#r52903480

Received on Monday, 15 February 2016 14:22:10 UTC