Lock/Unlock whilst in home screen web app stops events and webdb
| Originator: | crayzeepete | ||
| Number: | rdar://18500097 | Date Originated: | 2014-09-30 |
| Status: | Duplicate of 18042389 (Open) | Resolved: | |
| Product: | iOS | Product Version: | iOS 8.0.2 |
| Classification: | Reproducible: |
Summary: Whilst you have a home screen app open, if you lock/unlock the page, various events stop firing, and any open web sql database connections become unusable. The following events seem to cease firing entirely: * deviceorientation * touchstart * touchmove * touchend * devicemotion this list is not exhaustive - there may be more. Additionally, as noted above, active Web SQL connections become unusable. Any active WebDatabase object appears as before (which makes this almost impossible to detect), but any "transaction" or "readTransaction" methods stop firing. There doesn't seem to be any way to recover from this position (including re-running window.openDatabase). The absence of the PageView API from homescreen apps make this problem impossible to detect at runtime - as the app has absolutely no way of knowing that an unlock event has occurred. Steps to Reproduce: 1. Add a web page with a web sql database to the home screen 2. Launch the app from the home screen 3. Lock the screen 4. Unlock the screen 5. Attempt to run a query from the database Expected Results: The query should work, and return some results. Actual Results: Nothing happens - the database.transaction method doesn't run, and there is no error.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
True
Same as http://www.openradar.me/18315454