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

I think that this way of expressing the "any" vs. "all" distinction is as clear and transparent as mud.

I'm still uncertain about the benefits, but if we do this, we need a more explicit way of making the distinction between specific device, any device and all devices.

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

Received on Thursday, 28 January 2016 02:57:02 UTC