Re: [permissions] Mediacapture permissions (#57)

> +   </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
> +   permission has been granted, queries for permission to any
> +   specific device MUST return "granted" as long as the
> +   deviceId is the ID of a connected device of the given class.

You don't explain what to do in the case of `deviceId` being something else. Is that on purpose. I particularly wonder what we should do if it is the empty string.

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

Received on Wednesday, 27 January 2016 13:54:46 UTC