Automatic Strong Password with Confirmation text field

Originator:delabar
Number:rdar://45087973 Date Originated:10/08/2018
Status:Open Resolved:
Product:iOS Product Version:12.0
Classification: Reproducible:Always
 
Area:
Security Framework

Summary:
When using two fields with the newPassword textContentType, when the first field is selected that password is generated and populated, when the second is selected a new password is generated and both fields are populated with the new password.

Steps to Reproduce:
1. Build a simple registration form with a username and two newPassword textContentType fields.
2. Setup requisite associated domain. 
3. Allow password autofill on the device. 
4. Launch app. 
5. Focus on username field, use suggestion.
6. First password field is populated and annotated as "Strong Password", second field is not. Strong password popover is displayed.
7. Tap "Use Strong Password" in the pop-over to dismiss.
8. Tap first password field to focus, Strong password popover is displayed again, second field is still not populated. 
9. Tap "Use Strong Password" in the pop-over to dismiss.
10. Tap confirm password field to focus, Strong password popover is displayed again, both fields are populated this time.
11. Tap "Use Strong Password" in the pop-over to dismiss.

Expected Results:
Step 5 and Step 8 above should annotate and populate both password fields.

Actual Results:
Step 5 and Step 8 above only populate the first password field.

Version/Build:
Xcode Version 10.0 (10A255)
iOS 12.0 (16A366)

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!