Application Lifecycle Test
* Tip: 'Back' key press will redirect to the previous page.
This page logs Cobalt deeplinks, blur/focus events, and changes to the document.visibilityState when the visibilitychange event is fired. The visibilityState value should properly reflect if the current page is visible/partially-visible or hidden (not visible). Window.onblur and window.onfocus must be called respectively whenever the application loses or gains focus of the device's input mechanism (IR Remote, etc). Toggling of System menus, like Picture or Sound settings "quick menus", must fire a blur/focus event. Suspending and Resuming the application must fire both blur/focus and visibilitychange events. Anytime the app is resumed, the appropriate ?launch= parameter MUST be sent via deeplink once the application is Unpaused.
Logs: