New issue
Advanced search Search tips

Issue 624676 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

Autofill doesn't work on iOS

Reported by ja...@cloudfour.com, Jun 30 2016

Issue description

Steps 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
 
Components: -UI UI>Browser>Autofill
Owner: jdonnelly@chromium.org
Status: Assigned (was: Unconfirmed)
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.
Status: Started (was: Assigned)
I'm able to reproduce. I'll look into it.
Status: WontFix (was: Started)
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.
Thanks. Sorry I missed the origin difference.

Sign in to add a comment