Re: [screen-wake-lock] Remove redundant check (#368)

I have some concerns about this check being necessary to prevent a race condition. While the task created in step 7.3 is still queued, the document could loose visibility, release all locks in `document.[[ActiveLocks]]["screen"]` and only afterwards, the task will run, acquire a new lock and place it in `document.[[ActiveLocks]]`.

-- 
GitHub Notification of comment by vinhill
Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/pull/368#issuecomment-1862809180 using your GitHub account


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

Received on Tuesday, 19 December 2023 13:58:56 UTC