Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Do
-
3.5.0
-
None
Description
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
Attachments
Issue Links
- links to