Name Description Size Coverage
AddressComponent.sys.mjs Class representing a collection of tokens extracted from a string. 30863 -
AddressMetaData.sys.mjs 107167 -
AddressMetaDataExtension.sys.mjs 11787 -
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 -
AddressParser.sys.mjs eslint-disable no-useless-concat 9315 -
AddressRecord.sys.mjs eslint-disable no-useless-concat 9615 -
AutofillDataTypes.sys.mjs Central registry describing the data types Form Autofill can detect and classify (address, credit card, ...). 5443 -
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. 1284 -
AutofillTelemetry.sys.mjs 15697 -
CreditCardRecord.sys.mjs eslint-disable no-useless-concat 5332 -
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 -
FieldScanner.sys.mjs Represents the detailed information about a form field, including the inferred field name, the approach used for inferring, and additional metadata. 9179 -
FormAutofillHandler.sys.mjs Handles profile autofill for a DOM Form element. 56982 -
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. 68368 -
FormAutofillML.sys.mjs The classifier revision configured for this client, or "" when the feature is off. Reported on every detection, including forms the classifier did not label: a form the model declined to label is part of that model's behaviour, so gating this on the model having succeeded would make version cohorts conditional on the outcome being measured. The enabled check matters because #modelVersion is process-wide and only written when engines are created. Without it a profile that once ran the classifier keeps reporting that revision after the feature is turned off -- which is how control-branch clients came to report a model version despite their detections being ~99% regexp. @returns {string} Revision, joined by "/" for a multi-engine classifier. 15978 -
FormAutofillNameUtils.sys.mjs 10801 -
FormAutofillSection.sys.mjs Record information for fields that are in this section 23188 -
FormAutofillUtils.sys.mjs 54026 -
FormStateManager.sys.mjs @type {WeakMap} mapping FormLike root HTML elements to FormAutofillHandler objects. 3321 -
HeuristicsRegExp.sys.mjs eslint-disable no-useless-concat 27494 -
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 -
PassportRecord.sys.mjs The PassportRecord class serves to handle and normalize internal passport records. PassportRecord is used for processing and consistent data representation. 5005 -
PhoneNumber.sys.mjs 16725 -
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 -
PhoneNumberNormalizer.sys.mjs 1717 -