[wake-lock] obtain permission seems wrong (#187)

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