User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20170810180547 Steps to reproduce: 1. add a site to the homescreen in standalone mode 2. launch the PWA 2. switch to an other app or the homescreen Actual results: No window focus/blur or visibilitychanged events are fired when the visibility status of the activity changes. Also document.hidden is always false. Expected results: document.hidden should be set to true and the blur event as well as the visibilitychanged event should fire. The focus and visibilitychanged event should also fire when the activity moves back to the foreground.
Hi Ben please help advise
Hi, sorry all I know is that on B2G we used mozbrowservisibilitychange events on the Browser API and some of that code was recently removed in bug 1368712. I would have thought this would be different for Android though.