Selection of previously entered form history data broken in Nightly when Form Autofill is enabled
Categories
(Toolkit :: Form Autofill, defect, P2)
Tracking
()
People
(Reporter: alberts, Assigned: MattN)
References
()
Details
(Keywords: regression, testcase)
Attachments
(2 files)
|
73.30 KB,
video/ogg
|
Details | |
|
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details | Review |
Data I have previously entered in similar fields, like my last name, still appears in a dropdown underneath the corresponding input field, but when I make a selection it does not translate into the input field value anymore. Filling out forms, especially email fields became much more tedious again with this bug. Please see the video attached. Maybe I have time after the weekend to find a regression range.
| Assignee | ||
Comment 1•3 years ago
|
||
(In reply to Albert Scheiner [:alberts] from comment #0) > Maybe I have time after the weekend to find a regression range. That would be awesome!
| Reporter | ||
Comment 2•3 years ago
|
||
I have created a test case with steps to reproduce the issue and found the following regression: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=3eeb832ace97ae24cfeb3db0cbcdbc3390b1f304&tochange=0fd485f3f388f4fdd9044aa6598245e511a4179a
| Assignee | ||
Comment 3•2 years ago
|
||
Un-duping since it seems like the login form issue of bug 1437791 is resolved but this isn't.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 4•2 years ago
|
||
Otherwise the cached value won't be used for filling by satchel and _fillFromAutocompleteRow won't fill a result that isn't a autofill-profile style:
https://searchfox.org/mozilla-central/rev/03ebbdab952409640c6857d835d3040bf6f9e2db/browser/extensions/formautofill/FormAutofillContent.jsm#283,295
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Albert, do you have that test case handy? Once the patch lands I'd love for us to be able to verify the fix and possibly uplift to beta.
Pushed by mozilla@noorenberghe.ca: https://hg.mozilla.org/integration/mozilla-inbound/rev/047455dcfc20 Don't reset autocomplete controller state when autofill fell back to form history. r=jaws
| Assignee | ||
Comment 7•2 years ago
|
||
(In reply to Liz Henry (:lizzard) (use needinfo) from comment #5)
Albert, do you have that test case handy? Once the patch lands I'd love for us to be able to verify the fix and possibly uplift to beta.
It's in the URL field.
Comment 8•2 years ago
|
||
| bugherder | ||
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Comment 9•2 years ago
|
||
It is already working for me! Thanks 🙌
Comment 10•2 years ago
|
||
Verified on Nightly 67(20190214044118), that the issue is not reproducing, using the attached testcase.
Matt, do you want to request beta uplift?
| Assignee | ||
Comment 12•2 years ago
|
||
Let's give it a week or two to bake first. I'll leave the needinfo as a reminder.
| Assignee | ||
Comment 13•2 years ago
|
||
Comment on attachment 9042689 [details]
Bug 1439023 - Don't reset autocomplete controller state when autofill fell back to form history. r=jaws
Beta/Release Uplift Approval Request
Feature/Bug causing the regression
User impact if declined
Form history (and saved logins?) won't fill when the field was handled by Form Autofill.
Is this code covered by automated tests?
Yes
Has the fix been verified in Nightly?
Yes
Needs manual test from QE?
Yes
If yes, steps to reproduce
- Set browser.search.region = "US" and restart an en-US Firefox.
- Use test page at https://codepen.io/scheinercc/full/mXawWz/ which has STR
List of other uplifts needed
None
Risk to taking this patch
Low
Why is the change risky/not risky? (and alternatives if risky)
This returns to the previous behaviour for autocomplete popups not from Form Autofill.
String changes made/needed
None
Comment on attachment 9042689 [details]
Bug 1439023 - Don't reset autocomplete controller state when autofill fell back to form history. r=jaws
Fix for form autofill, verified in Nightly.
OK to uplift for beta 11.
Comment 15•2 years ago
|
||
| bugherderuplift | ||
Comment 16•2 years ago
|
||
| bugherderuplift | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 17•2 years ago
|
||
Verified on Beta 66(20190228180200), that the issue is not reproducing, using the attached testcase. Tested on Windows 10 x64, MacOS 10.12 and Ubuntu 16.04
Updated•2 years ago
|
Description
•