- From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
- Date: Sat, 20 Apr 2019 14:35:09 +0000
- To: public-device-apis-log@w3.org
marcoscaceres has just created a new issue for https://github.com/w3c/wake-lock:
== obtain permission seems wrong ==
the obtain permission seems wrong: 
```
 To <dfn>obtain permission</dfn> for <a>wake lock type</a> |type|, run
        these steps <a>in parallel</a>. This async algorithm returns either
        {{"granted"}} or {{"denied"}}.
```
It should return a `|promise<PermissionState>|` instead... and the dependent algorithms should resolve with that promise (which will unwrap to the appropriate permissions state)
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/187 using your GitHub account
Received on Saturday, 20 April 2019 14:35:11 UTC