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

Re: [wake-lock] WakeLock.request() returns a promise that never resolves (#226)

From: Thomas Steiner via GitHub <sysbot+gh@w3.org>
Date: Thu, 24 Oct 2019 14:12:14 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-545937076-1571926333-sysbot+gh@w3.org>
Here's a [demo](https://wake-lock-demo.glitch.me/) that implements the new API (alongside the old one) and optionally takes visibility changes into account.

-- 
GitHub Notification of comment by tomayac
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/226#issuecomment-545937076 using your GitHub account
Received on Thursday, 24 October 2019 14:12:16 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:27:45 UTC