[ 
https://issues.apache.org/jira/browse/CB-7847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372044#comment-16372044
 ] 

ASF GitHub Bot commented on CB-7847:
------------------------------------

janpio commented on issue #86: CB-7847 Page Visibility API should be supported
URL: https://github.com/apache/cordova-js/pull/86#issuecomment-367479403
 
 
   I guess it's safe to say in 2018 that it was decided not to merge this. 
Closing as stale.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to