Hi guys. I was testing the Page Visibility API and discovered that visibilityState only changes when the user moves to another tab or the window is minimized, but stays in the visible state if the user moves to another window or program. To detect the real state of the document I had to use the focus and blur events.
Is this the right behavior? Because is that's the case the API is just a complement of the blur and focus event and we have to use those events along with the API to detect visibility for real.
Thanks
JD