| android |
|
|
- |
| AutofillStorageMigrator.sys.mjs |
Copies a profile's autofill records from one store to the other, and checks
field by field that they came out the same.
The copy itself does not depend on which collection is being copied, so it
lives once here; `AddressStorageMigrator` and `CreditCardStorageMigrator` at
the bottom of this file supply what does -- the prefs that budget the run,
the Glean category it reports to, and how two records are compared.
|
24039 |
- |
| Constants.ios.mjs |
|
3606 |
- |
| default |
|
|
97 % |
| FormAutofill.ios.sys.mjs |
|
620 |
- |
| FormAutofill.sys.mjs |
Determines if an autofill feature should be enabled based on the "available"
and "supportedCountries" parameters.
@param {string} available Available can be one of the following: "on", "detect", "off".
"on" forces the particular Form Autofill feature on, while "detect" utilizes the supported countries
to see if the feature should be available.
@param {string[]} supportedCountries
@returns {boolean} `true` if autofill feature is supported in the current browser search region
|
12298 |
- |
| FormAutofillChild.ios.sys.mjs |
eslint-disable no-undef,mozilla/balanced-listeners |
7713 |
- |
| FormAutofillChild.sys.mjs |
Handles content's interactions for the frame.
|
43610 |
- |
| FormAutofillContent.sys.mjs |
Form Autofill content process module.
|
2309 |
- |
| FormAutofillNative.cpp |
|
51404 |
- |
| FormAutofillNative.h |
|
726 |
- |
| FormAutofillParent.sys.mjs |
Implements a service used to access storage and communicate with content.
A "fields" array is used to communicate with FormAutofillChild. Each item
represents a single input field in the content page as well as its
`@autocomplete` properties. The schema is as below. Please refer to
FormAutofillChild.js for more details.
[
{
section,
addressType,
contactType,
fieldName,
value,
index
},
{
// ...
}
]
|
54279 |
- |
| FormAutofillPreferences.sys.mjs |
Injects the form autofill section into about:preferences.
|
18458 |
- |
| FormAutofillStorageBase.sys.mjs |
|
67708 |
- |
| FormAutofillSync.sys.mjs |
|
15259 |
- |
| Helpers.ios.mjs |
eslint mozilla/use-isInstance: 0 |
9816 |
- |
| jar.mn |
|
873 |
- |
| metrics.yaml |
|
69106 |
- |
| moz.build |
|
1488 |
- |
| Overrides.ios.js |
|
934 |
- |
| ProfileAutoCompleteResult.sys.mjs |
The footer row, kept last so that it stays below the entries contributed
by other providers. Subclasses that have a footer override this; the
default is to have none.
@returns {object | null} The footer row, or null when there is none.
|
19007 |
- |
| RustAutofillAdapterBase.sys.mjs |
Shared half of the Rust-backed autofill storage adapters.
Each collection in the vendored application-services autofill `Store` is
presented to desktop through the subset of the `AutofillRecords` interface
its consumers use. Everything in that presentation which does not depend on
the collection lives here; a subclass supplies only what the Rust schema
makes specific to its own records.
A subclass must provide, as getters rather than instance fields -- the
constructor below reads `_dataType`, and an instance field is not initialised
until after it returns:
- `_dataType` and `_logger`.
- `_recordApi`, the shared record module that normalises and computes fields.
- `_validFields`, the canonical field list.
and as methods:
- `_recordFromRust()`, `_normalize()`, and the store calls listed under
"Store operations". `_recordFromRust()` is handed getAll()'s options, so
a collection that hides a stored field on read reports it under
`rawData`; one that hides nothing ignores them.
`static _instance = null` is worth declaring for the reader, though
`getInstance()` stores per subclass either way.
A subclass may override the three merge hooks -- `_prepareStoredForMerge()`,
`_validateRecord()` and `_recomputeBeforeWrite()` -- which do nothing here.
|
23119 |
- |
| RustAutofillAddressStorage.sys.mjs |
Rust-backed address storage adapter.
The address half of `RustAutofillAdapterBase`, which holds everything that is
not specific to this collection. Every canonical address field is a plain
string column.
|
9454 |
- |
| RustAutofillCreditCardStorage.sys.mjs |
Rust-backed credit card storage adapter.
The credit card half of `RustAutofillAdapterBase`, which holds everything
that is not specific to this collection. What is here follows from the Rust
credit card schema: the number is stored encrypted with only its last four
digits in the clear, so `cc-number` is derived as a mask on read and the
ciphertext derived on write.
|
18769 |
- |
| RustAutofillStore.sys.mjs |
Owns the lifecycle of the Application Services `autofill` SQLite store.
There is one store per profile -- addresses, credit cards and passports are
collections within it -- so this is a singleton and the store itself is
opened lazily on first use. On first open it registers a shutdown blocker
that closes the store's rusqlite connection; otherwise the connection is
only closed when its JS wrapper is garbage-collected, which happens too late
in shutdown.
|
3277 |
- |
| shared |
|
|
91 % |