forked from mirrors/gecko-dev
Bug 1735562 - Remove Nightly only gates for multiple cc-number field capture and autofill. r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D128642
This commit is contained in:
parent
a9e674d68d
commit
74623e87d4
2 changed files with 3 additions and 11 deletions
|
|
@ -627,10 +627,7 @@ class FormAutofillSection {
|
||||||
data.flowId = this.flowId;
|
data.flowId = this.flowId;
|
||||||
}
|
}
|
||||||
let condensedDetails = this.fieldDetails;
|
let condensedDetails = this.fieldDetails;
|
||||||
// This NIGHTLY_BUILD statement should be removed as part of Bug 1735562 once the feature is stable
|
this._condenseMultipleCCNumberFields(condensedDetails);
|
||||||
if (AppConstants.NIGHTLY_BUILD) {
|
|
||||||
this._condenseMultipleCCNumberFields(condensedDetails);
|
|
||||||
}
|
|
||||||
|
|
||||||
condensedDetails.forEach(detail => {
|
condensedDetails.forEach(detail => {
|
||||||
let element = detail.elementWeakRef.get();
|
let element = detail.elementWeakRef.get();
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,7 @@ const { XPCOMUtils } = ChromeUtils.import(
|
||||||
const { FormAutofill } = ChromeUtils.import(
|
const { FormAutofill } = ChromeUtils.import(
|
||||||
"resource://autofill/FormAutofill.jsm"
|
"resource://autofill/FormAutofill.jsm"
|
||||||
);
|
);
|
||||||
// This AppConstants import can be removed as part of Bug 1735562
|
|
||||||
const { AppConstants } = ChromeUtils.import(
|
|
||||||
"resource://gre/modules/AppConstants.jsm"
|
|
||||||
);
|
|
||||||
ChromeUtils.defineModuleGetter(
|
ChromeUtils.defineModuleGetter(
|
||||||
this,
|
this,
|
||||||
"FormAutofillUtils",
|
"FormAutofillUtils",
|
||||||
|
|
@ -226,9 +223,7 @@ class FieldScanner {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
// This NIGHTLY_BUILD statement should be removed as part of Bug 1735562 once the feature is stable
|
// This NIGHTLY_BUILD statement should be removed as part of Bug 1735562 once the feature is stable
|
||||||
if (AppConstants.NIGHTLY_BUILD) {
|
this._classifyMultipleCCNumberFields();
|
||||||
this._classifyMultipleCCNumberFields();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue