Name Description Size Coverage
AddressStorageMigrator.sys.mjs Copy a profile's addresses from one store to the other, and check field by field that they came out the same. A dry run does the copy only to measure it, and leaves the caller to empty the target again. Runs at startup for a profile that has not migrated, and again each time the pref that chooses the store is flipped -- in whichever direction that pref has just gone, since the copy is written against a source and a target. 19052 -
android -
Constants.ios.mjs 3606 -
default -
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 11035 -
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 62669 -
FormAutofillSync.sys.mjs 15259 -
Helpers.ios.mjs eslint mozilla/use-isInstance: 0 9816 -
jar.mn 873 -
metrics.yaml 62589 -
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". `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. 22302 -
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. 9314 -
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. 15596 -
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 -