Closed
Bug 1894889
Opened 6 months ago
Closed 6 months ago
Trigger autocomplete action from the parent process
Categories
(Toolkit :: Form Autofill, task, P2)
Toolkit
Form Autofill
Tracking
()
RESOLVED
FIXED
128 Branch
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: dimi, Assigned: dimi)
References
Details
(Whiteboard: [fxcm-iframe])
Attachments
(1 file)
Bug 1894889 - Trigger autocomplete action from the parent process r=#credential-management-reviewers
48 bytes,
text/x-phabricator-request
|
Details | Review |
This issue is the follow-up of Bug 1893623. In Bug 1893623, we move address, credit card, login autofill from the child process to the parent process. The bug aims to move the processing of remaining actions that are triggered when users select an entry in the autocomplete drop from the child process to the parent process as well.
Updated•6 months ago
|
Assignee | ||
Comment 1•6 months ago
|
||
This patch adds the following messages to the autocomplete item:
- For address and credit card autofill, use the
FormAutofill:FillForm
message. - For login autofill, use the
PasswordManager:OnFieldAutoComplete
message. - For generated password autofill, use the
PasswordManager:FillGeneratedPassword
message.
After adding the above three messages, every autocomplete item that performs an action
upon being clicked has a correspondingfillMessageName
.
Here is how the new architecture works:
- Whenever a user selects an autocomplete entry, the
AutoCompleteChild
sends
theAutoComplete:SelectEntry
message to the parent process. AutoCompleteParent
extractsfillMessageName
from the message and uses
the prefix of the message name to determine which actor should process this message.- The
OnFieldAutoCompleteEntrySelected
method of the actor is called. The actor in
the parent process determines what action to take.
Updated•6 months ago
|
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•6 months ago
|
||
HI :owlish , is it possible that someone in your team help take a look at this patch, thank!
Flags: needinfo?(bugzeeeeee)
Updated•6 months ago
|
Flags: needinfo?(bugzeeeeee)
Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/915204f44829
Trigger autocomplete action from the parent process r=credential-management-reviewers,geckoview-reviewers,NeilDeakin,owlish
Comment 4•6 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
status-firefox128:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•