fune/toolkit/components/autocomplete
Dimi a6fc3d1c7d Bug 1893623 - P1. Trigger autofill from the parent process r=credential-management-reviewers,sgalich
Currently, when users autocomplete a field for an address, credit card, or login, Firefox also "autofills"
the relevant fields. Here is a quick summary of how we currently manage this process:

1. Users click on an input field, the autocomplete popup is displayed, and Firefox searches for options
   so users can choose which value to autocomplete.
2. AutoCompleteChild searches for the value to autocomplete based on the type of the input field, along
   with the entire profile. For example, when we autocomplete a cc-number field, we also send cc-name, cc-exp, etc., to the child process.
3. AutoCompleteController autocompletes the focused input.
4. AutoCompleteController notifies the corresponding module, which then autofills the remaining fields.

Currently, step 4 is triggered directly in the child process. This patch moves the logic of step 4 from the
child process to the parent process. This change is a prerequisite for supporting autofill across frames and
will also enable us not to send the entire profile in step 2.

Differential Revision: https://phabricator.services.mozilla.com/D208752
2024-04-29 20:35:04 +00:00
..
tests/unit
AutoCompleteSimpleSearch.sys.mjs
components.conf
moz.build
nsAutoCompleteController.cpp Bug 1893623 - P1. Trigger autofill from the parent process r=credential-management-reviewers,sgalich 2024-04-29 20:35:04 +00:00
nsAutoCompleteController.h
nsAutoCompleteSimpleResult.cpp
nsAutoCompleteSimpleResult.h
nsIAutoCompleteController.idl
nsIAutoCompleteInput.idl
nsIAutoCompletePopup.idl Bug 1893623 - P1. Trigger autofill from the parent process r=credential-management-reviewers,sgalich 2024-04-29 20:35:04 +00:00
nsIAutoCompleteResult.idl Bug 1881863 - Part 1: Standardize on boolean over bool in xpidl, r=xpcom-reviewers,necko-reviewers,valentin,extension-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,places-reviewers,nalexander,emilio,zombie,sgalich,karlt,lina,Standard8 2024-04-04 18:45:21 +00:00
nsIAutoCompleteSearch.idl
nsIAutoCompleteSimpleResult.idl
nsIAutoCompleteSimpleSearch.idl