cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-7847) Page Visibility API should be supported
Date Wed, 22 Oct 2014 10:28:34 GMT


ASF GitHub Bot commented on CB-7847:

GitHub user visiongeist opened a pull request:

    CB-7847 Page Visibility API should be supported


You can merge this pull request into a Git repository by running:

    $ git pull issue/CB-7847

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #86
commit a6be03d55d62ce3c3dafa21ff74f95d03ae8dab7
Author: Damien Antipa <>
Date:   2014-10-22T10:27:49Z

    CB-7847 Page Visibility API should be supported


> Page Visibility API should be supported
> ---------------------------------------
>                 Key: CB-7847
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS
>    Affects Versions: 3.5.0
>            Reporter: Damien Antipa
>             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. 
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message