Re: [wake-lock] WakeLock and Page Life Cycle (#139)

@cterefinko I just re-read the updated spec and stumbled upon [this note](https://w3c.github.io/wake-lock/#request-static-method) (green box at the end of the algorithm): "*The additional visibility requirement for screen wake lock is to prevent keeping the screen on when the page is not visible, such as when the browser is minimized. As this condition is transient and not under control of the web page, the specification chooses to automatically acquire and release the lock when visibility changes rather than having the page to deal with it, e.g[.] by re-requesting the lock each time the page becomes visible again.*"

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

Received on Tuesday, 6 August 2019 07:11:13 UTC