You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2020/06/24 14:59:00 UTC
[jira] [Closed] (CB-7847) Page Visibility API should be supported
[ https://issues.apache.org/jira/browse/CB-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-7847.
----------------------------
Resolution: Won't Do
closing as won't do since the PR is closed and one of the maintainers said it should be a separate plugin
> Page Visibility API should be supported
> ---------------------------------------
>
> Key: CB-7847
> URL: https://issues.apache.org/jira/browse/CB-7847
> Project: Apache Cordova
> Issue Type: Improvement
> Components: cordova-js
> Affects Versions: 3.5.0
> Reporter: Damien Antipa
> Priority: Major
> Fix For: 3.6.0
>
>
> If the browser supports the API currently, he may return a wrong value by accessing the visibilityState when the application went into pause mode. Imo the visibility API should be supported without breaking code relying on pause/resume.
> http://www.w3.org/TR/page-visibility/#sec-visibilitychange-event
> I created a patch which relies on the fact that all platform code will handle pause/resume properly. It currently supports the visibilityState and the visibilitychange event. Missing parts of the spec are:
> - handle hidden attribute on window
> - prerender/unloaded
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org