- From: Harald Alvestrand <notifications@github.com>
- Date: Wed, 10 Aug 2016 10:36:32 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Message-ID: <w3c/permissions/pull/120/r74292136@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 I don't see a need for an application to get that list, no. If it really wants one, it can call enumerateDevices and then do query() for each of them. I want to keep the API as simple as possible. --- 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#r74292136
Received on Wednesday, 10 August 2016 17:37:02 UTC