[PM-4415] Refining field qualification for account creation fields

This commit is contained in:
Cesar Gonzalez 2024-10-09 13:39:27 -05:00
parent 983f804dd2
commit c40ee571f5
No known key found for this signature in database
GPG Key ID: 3381A5457F8CCECF
1 changed files with 2 additions and 1 deletions

View File

@ -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;
} }