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

If a document holding a becomes non-fully active and then becomes fully active then I think a `release` event should be fired. This pattern seems like something that will be common. For example, a WebSocket should fire a `close` event in the same situation. Maybe "queue a task" is the right way to express that, since task queues are paused while the document is not fully active.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 20 August 2021 19:26:09 UTC