Cookies written in SFSafariViewController are not consistently synced to Safari
| Originator: | chaowei | ||
| Number: | rdar://28397688 | Date Originated: | 20-Sep-2016 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 10 |
| Classification: | Reproducible: |
ummary: If an SFSafariViewController is dismissed right after the website issues some cookies, there's a great chance that these cookies are not flushed to Safari's cookie jar. Steps to Reproduce: 0. Reproduce with a real iOS device. And clean up the cookies in Safari. 1. Open a SFSafariViewController with https://accounts.google.com 2. Log in a Google account and press "Done" of the SFSafariViewController immediately after login in success. 3. Go to Safari, wait for 10 seconds, then open https://accounts.google.com. Expected Results: The same account should be logged in in Safari. Actual Results: No account is logged in. The Google log in page is displayed instead. Version: 10.0.1 (14A403) Notes: The bug only reproduces on real iOS devices. It reproduces on iOS 9 as well. Configuration: iPhone 6 32GB AT&T, using WiFi
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!