Trigger autofill from the parent process
Categories
(Toolkit :: Form Autofill, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: dimi, Assigned: dimi)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxcm-iframe])
Attachments
(2 files)
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:
- Users click on an input field, the autocomplete popup is displayed, and Firefox searches for options so users can choose which value to autocomplete.
- 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.
- AutoCompleteController autocompletes the focused input.
- 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.
Assignee | ||
Comment 1•5 months ago
|
||
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:
- Users click on an input field, the autocomplete popup is displayed, and Firefox searches for options
so users can choose which value to autocomplete. - 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. - AutoCompleteController autocompletes the focused input.
- 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.
Assignee | ||
Comment 2•5 months ago
|
||
Depends on D208752
Comment 4•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/17be8b47ebd8
https://hg.mozilla.org/mozilla-central/rev/a0a539195135
Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
Description
•