Re: [screen-wake-lock] Add more visibility tests (#373)

For future reference: we already have `screen-wake-lock/wakelock-document-hidden.https.html` that tests that calling request() _after_ setting the page visibility state to "hidden" throws NotAllowedError. What I was wondering is whether we could test the specific case being added in #367 (i.e. the page is visible when request() is called, so the visibility check passes, but the visibility changes to "hidden" before the "fully active" check in the parallel steps happens).

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


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

Received on Tuesday, 9 April 2024 06:37:29 UTC