Autofill doesn't work on iOS
Reported by
ja...@cloudfour.com,
Jun 30 2016
|
|||
Issue descriptionSteps to reproduce the problem: 1. Ensure you have autofill values synced to your Chrome settings on iOS 2. Visit https://codepen.io/grigs/full/YqoyWv/ on Chrome on iOS 3. Select one of the fields like name or card number 4. No autofill suggestions are provided What is the expected behavior? I expect autofill suggestions to be provided like they do on desktop and Android. What went wrong? I have no idea! Did this work before? N/A Chrome version: 51.0.2704.104 Channel: stable OS Version: iOS 9.3.2 Flash Version: n/a FYI, the codepen for testing is the codepen that I built at the end of this article: blog.cloudfour.com/autofill-what-web-devs-should-know-but-dont/ A reader named Stevee pointed out that it wasn't working on iOS: http://blog.cloudfour.com/autofill-what-web-devs-should-know-but-dont/#comment-235240
,
Jul 1 2016
Tested on 51.0.2704.104 beta, iPhone 6 iOS 9.2.1, iPhone 6 9.3.1, Auto fill looks good. Not able to reproduce the issue.
,
Jul 1 2016
I'm able to reproduce. I'll look into it.
,
Jul 1 2016
This issue is caused by how the page in question is constructed. The form resides in an iframe whose origin ("https://s.codepen.io") doesn't match the page itself ("https://codepen.io"). The same-origin policy prevents Javascript in the page from accessing the form in the iframe. Since Autofill in Chrome for iOS is implemented with injected Javascript, it simply never sees the form in the iframe.
,
Jul 6 2016
Thanks. Sorry I missed the origin difference. |
|||
►
Sign in to add a comment |
|||
Comment 1 by olivierrobin@chromium.org
, Jul 1 2016Owner: jdonnelly@chromium.org
Status: Assigned (was: Unconfirmed)