- From: Jeffrey Yasskin <notifications@github.com>
- Date: Wed, 10 Aug 2016 09:41:34 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Message-ID: <w3c/permissions/pull/120/r74281784@github.com>
> </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 Do you want to have a way for the site to request the list of all granted `deviceId`s? If so, you'll need to extend the permission result type too, with a list of deviceIds and/or MediaStreams. --- 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#r74281784
Received on Wednesday, 10 August 2016 16:42:14 UTC