New issue
Advanced search Search tips

Issue 920839 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

visibilitychange event doesn't fire when hiding window with Cmd+H

Project Member Reported by jeremya@chromium.org, Jan 11

Issue description

Chrome Version: 73.0.3667.0
OS: macOS 10.13.6

What steps will reproduce the problem?
(1) navigate to data:text/html,<script>addEventListener('visibilitychange', () => console.log(document.visibilityState))</script>
(2) open the devtools
(3) press cmd+h to hide the app
(4) press cmd+tab to return to the app

What is the expected result?

Two log lines in the console, first "hidden" then "visible"

What happens instead?

Zero log lines.



This works correctly in 71.0.3578.98. I believe it is broken in M72 as well, but haven't verified.
 
Owner: robliao@chromium.org
Status: Untriaged (was: Available)
Is this mac views? I'm not sure what label to use.

Comment 2 by jeremya@chromium.org, Today (9 hours ago)

Yes, I think M72 is mac views and it seems likely that this is relevant to that.

Sign in to add a comment