- From: Mounir Lamouri via GitHub <sysbot+gh@w3.org>
- Date: Mon, 30 Jul 2018 17:45:14 +0000
- To: public-device-apis-log@w3.org
mounirlamouri has just created a new issue for https://github.com/w3c/wake-lock:
== What if WakeLockRequest is garbage collected? ==
The spec seems to say that the following will hold a wake lock for ever with no way for the page to fix it:
```javascript
navigator.getWakeLock('screen').then(wakelock => {
wakeLock.createRequest();
});
```
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/128 using your GitHub account
Received on Monday, 30 July 2018 17:45:16 UTC