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: Raphael Kubo da Costa via GitHub <sysbot+gh@w3.org>
Date: Thu, 03 Oct 2019 16:32:13 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-538022223-1570120332-sysbot+gh@w3.org>
How is `WakeLockSentinel.release()` supposed to behave when an event such as a page visibility change happens? Is it supposed to do nothing, return a rejected promise or none of the above?

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

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:57 UTC