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

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

From: Reilly Grant via GitHub <sysbot+gh@w3.org>
Date: Thu, 19 Sep 2019 11:38:12 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-533091256-1568893091-sysbot+gh@w3.org>
>> A new `"wakelockreleased"` event is fired with a `WakeLockEvent` with `lock` set to the ID of the lock that has been released either voluntarily or involuntarily.

> What would be the event target for these events?

`document` for frames and `self` for workers.

GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/226#issuecomment-533091256 using your GitHub account
Received on Thursday, 19 September 2019 11:38:14 UTC

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