Bug 1953469 - Autofill should ignore fields that are marked for password manager on iOS. r=credential-management-reviewers,dimi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D241208
This commit is contained in:
@@ -111,6 +111,10 @@ export class FormAutofillChild {
|
|||||||
onFocusIn(evt) {
|
onFocusIn(evt) {
|
||||||
const element = evt.target;
|
const element = evt.target;
|
||||||
|
|
||||||
|
if (element.shouldIgnoreAutofill) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
this.identifyFieldsWhenFocused(element);
|
this.identifyFieldsWhenFocused(element);
|
||||||
|
|
||||||
// Only ping swift if current field is either a cc or address field
|
// Only ping swift if current field is either a cc or address field
|
||||||
|
|||||||
Reference in New Issue
Block a user