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

Please suggest text... for instance, we could use the strings "some device" for <empty> and "all devices" for "*" - this revisits the question of what values of a device ID can be used safely for something other than a device id - or we could add another attribute.
My first proposal (separate "all-" permissions) was a bit easier to explain, but did not support the "any" case.

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

Received on Thursday, 28 January 2016 08:22:01 UTC