W3C home > Mailing lists > Public > public-device-apis-log@w3.org > March 2019

Re: [wake-lock] Requesting wake locks from Workers (#156)

From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
Date: Wed, 20 Mar 2019 13:06:52 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-474820363-1553087211-sysbot+gh@w3.org>
It is static on notification spec as well as on device orientation and motion - so let's go with that

How does this look?

```
[Exposed=Window] static Promise<PermissionState> requestPermission(WakeLockType type)
```

-- 
GitHub Notification of comment by kenchris
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/156#issuecomment-474820363 using your GitHub account
Received on Wednesday, 20 March 2019 13:06:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 20 March 2019 13:06:56 UTC