forked from mirrors/gecko-dev
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 |
||
|---|---|---|
| .. | ||
| tests/unit | ||
| AutoCompleteSimpleSearch.sys.mjs | ||
| components.conf | ||
| moz.build | ||
| nsAutoCompleteController.cpp | ||
| nsAutoCompleteController.h | ||
| nsAutoCompleteSimpleResult.cpp | ||
| nsAutoCompleteSimpleResult.h | ||
| nsIAutoCompleteController.idl | ||
| nsIAutoCompleteInput.idl | ||
| nsIAutoCompletePopup.idl | ||
| nsIAutoCompleteResult.idl | ||
| nsIAutoCompleteSearch.idl | ||
| nsIAutoCompleteSimpleResult.idl | ||
| nsIAutoCompleteSimpleSearch.idl | ||