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

> 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?

My vote is for it to do nothing. Returning a rejected Promise doesn't tell the page anything useful.

-- 
GitHub Notification of comment by reillyeon
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/226#issuecomment-538025034 using your GitHub account

Received on Thursday, 3 October 2019 16:38:53 UTC