| 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 |
9615 |
99 % |
| AutofillDataTypes.sys.mjs |
Central registry describing the data types Form Autofill can detect and
classify (address, credit card, ...).
|
5443 |
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.
|
1284 |
100 % |
| AutofillTelemetry.sys.mjs |
|
15231 |
98 % |
| CreditCardRecord.sys.mjs |
eslint-disable no-useless-concat |
5332 |
100 % |
| 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.
|
9179 |
98 % |
| FormAutofillHandler.sys.mjs |
Handles profile autofill for a DOM Form element.
|
56982 |
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.
|
68368 |
96 % |
| 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 |
36 % |
| FormAutofillNameUtils.sys.mjs |
|
10801 |
95 % |
| FormAutofillSection.sys.mjs |
Record information for fields that are in this section
|
23188 |
97 % |
| FormAutofillUtils.sys.mjs |
|
54026 |
95 % |
| FormStateManager.sys.mjs |
@type {WeakMap} mapping FormLike root HTML elements to FormAutofillHandler objects.
|
3321 |
100 % |
| HeuristicsRegExp.sys.mjs |
eslint-disable no-useless-concat |
27494 |
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 % |
| PassportRecord.sys.mjs |
The PassportRecord class serves to handle and normalize internal passport
records. PassportRecord is used for processing and consistent data
representation.
|
5005 |
100 % |
| 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 % |