Name Description Size Coverage
AddressComponent.sys.mjs Class representing a collection of tokens extracted from a string. 30863 93 %
AddressMetaData.sys.mjs 107167 100 %
AddressMetaDataExtension.sys.mjs 11787 100 %
AddressMetaDataLoader.sys.mjs Load address meta data and extension into one object. @returns {object} An object containing address data object with properties from extension. 5345 93 %
AddressParser.sys.mjs eslint-disable no-useless-concat 9315 95 %
AddressRecord.sys.mjs eslint-disable no-useless-concat 4723 100 %
AutofillFormFactory.sys.mjs A factory to generate AutofillForm objects that represent a set of autofillable fields which aren't necessarily marked up with a <form> element. 1278 96 %
AutofillTelemetry.sys.mjs 13239 98 %
CreditCardRecord.sys.mjs eslint-disable no-useless-concat 3790 96 %
CreditCardRuleset.sys.mjs Fathom ML model for identifying the fields of credit-card forms This is developed out-of-tree at https://github.com/mozilla-services/fathom- form-autofill, where there is also over a GB of training, validation, and testing data. To make changes, do your edits there (whether adding new training pages, adding new rules, or both), retrain and evaluate as documented at https://mozilla.github.io/fathom/training.html, paste the coefficients emitted by the trainer into the ruleset, and finally copy the ruleset's "CODE TO COPY INTO PRODUCTION" section to this file's "CODE FROM TRAINING REPOSITORY" section. 42332 64 %
FieldScanner.sys.mjs Represents the detailed information about a form field, including the inferred field name, the approach used for inferring, and additional metadata. 8896 98 %
FormAutofillHandler.sys.mjs Handles profile autofill for a DOM Form element. 57023 96 %
FormAutofillHeuristics.sys.mjs To help us classify sections that can appear only N times in a row. For example, the only time multiple cc-number fields are valid is when there are four of these fields in a row. Otherwise, multiple cc-number fields should be in separate sections. 53610 99 %
FormAutofillNameUtils.sys.mjs 10801 95 %
FormAutofillSection.sys.mjs Record information for fields that are in this section 21768 97 %
FormAutofillUtils.sys.mjs 48440 96 %
FormStateManager.sys.mjs @type {WeakMap} mapping FormLike root HTML elements to FormAutofillHandler objects. 3321 100 %
HeuristicsRegExp.sys.mjs eslint-disable no-useless-concat 25394 100 %
LabelUtils.sys.mjs This is a utility object to work with HTML labels in web pages, including finding label elements and label text extraction. 9896 99 %
PhoneNumber.sys.mjs 16725 95 %
PhoneNumberMetaData.sys.mjs This data was generated base on libphonenumber v8.4.1 via the script in https://github.com/andreasgal/PhoneNumber.js The XML format of libphonenumber has changed since v8.4.2 so we can only stay in this version for now. 67548 100 %
PhoneNumberNormalizer.sys.mjs 1717 98 %