BUG 414295
The problem is some sites does not provide 'name' HTML attribute for form inputs.
The folliwng attribute is required for 'completeFormData' Falkon script, but
if the name is empty, the key (see source code) is also empty, and the expression
(name == key) is always evaluates to true, which leads to misfilling the form.
To fix this we just need to check that 'name' is not empty.
To test enter https://my.amfoss.in/login (enter somethink and click save). There must not be any fields filled.
Details
Details
- Reviewers
allknow
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Unit Tests Skipped
This comment was removed by allknow.
Comment Actions
" if (input.name == key&&input.name==null) {"
I think this is more better!
Because That causes an error. If you do that, you will not be able to automatically log in with the toolbar.
Comment Actions
I tested it a little bit, and found out that the problem was not caused by 'name' attribute, but by 'key' - it is empty if an appropriate attribute is not present.
Now to check enter to https://my.amfoss.in/login (enter somethink and click save) and see there is not input
Then you can check it at any site (I choosed phabricator) - it should be autocompleted automatically