[PM-4415] Refining field qualification for account creation fields
This commit is contained in:
parent
983f804dd2
commit
c40ee571f5
|
@ -839,7 +839,8 @@ export class InlineMenuFieldQualificationService
|
||||||
isUsernameField = (field: AutofillField): boolean => {
|
isUsernameField = (field: AutofillField): boolean => {
|
||||||
if (
|
if (
|
||||||
!this.usernameFieldTypes.has(field.type) ||
|
!this.usernameFieldTypes.has(field.type) ||
|
||||||
this.isExcludedFieldType(field, this.excludedAutofillFieldTypesSet)
|
this.isExcludedFieldType(field, this.excludedAutofillFieldTypesSet) ||
|
||||||
|
this.keywordsFoundInFieldData(field, AutoFillConstants.FieldIgnoreList)
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue