Re: [w3c/permissions] Resolve TODOs on media type permissions (#120)

>        </dd>
>        <dt>
>          <a>permission query algorithm</a>
>        </dt>
>        <dd>
> -        TODO
> +        The permission query algorithm runs the following steps:
> +        <ol class="algorithm">
> +        <li>
> +        If |permissionDesc|.deviceId exists in the <a>extra permission data</a>,
> +        set <code><var>status</var>.state</code>
> +        to |permissionDesc|'s <a>permission state</a> and terminate these
> +        steps.
> +        </li>
> +        <li>Set <var>global</var> to the {{PermissionDesc}} for the descriptor
> +        that results from removing the "deviceId" value.
> +        </li>
> +        <li>
> +        Set <code><var>status</var>.state</code> to <var>global</var>'s

Ok.

---
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/120/files/92616473b2f577bf8daf597d76a517955d10ae60#r74305849

Received on Wednesday, 10 August 2016 18:46:57 UTC