Improve Autofill heuristic terms (#674)
Add "e-mail" and "login" as username terms and sort the lists. Co-authored-by: Harsh Shandilya <msfjarvis@gmail.com>
This commit is contained in:
parent
b6730ac123
commit
b21c032f31
1 changed files with 2 additions and 2 deletions
|
@ -80,10 +80,10 @@ class FormField(
|
||||||
"search", "find", "captcha"
|
"search", "find", "captcha"
|
||||||
)
|
)
|
||||||
private val PASSWORD_HEURISTIC_TERMS = listOf(
|
private val PASSWORD_HEURISTIC_TERMS = listOf(
|
||||||
"pass", "pwd", "pswd"
|
"pass", "pswd", "pwd"
|
||||||
)
|
)
|
||||||
private val USERNAME_HEURISTIC_TERMS = listOf(
|
private val USERNAME_HEURISTIC_TERMS = listOf(
|
||||||
"user", "name", "email"
|
"e-mail", "email", "login", "name", "user"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue