Wake Lock API tests timing out waiting for 'visibilitychange' event |
|
Issue descriptionFor some reason, two of the Wake Lock API tests are timing out waiting for 'visibilitychange' event. external/wpt/wake-lock/wakelock-applicability-manual.https.html [ Timeout ] external/wpt/wake-lock/wakelock-document-hidden.https.html [ Timeout ]
,
Aug 15
https://github.com/web-platform-tests/wpt/pull/10751 should provide an API to change the visibility (by minimization) when it lands!
,
Aug 15
I've confirmed that at least in Chrome Canary on Mac, minimizing and restoring the window does fire the visibilitychange event and cycle document.visibilityState through "hidden" and "visible", so that API seems right. There is some risk that it doesn't actually work in content_shell, which is special in many ways, but we will have to see. |
|
►
Sign in to add a comment |
|
Comment 1 by mlamouri@chromium.org
, Aug 9Status: Assigned (was: Untriaged)