Avoid sending Form History autocomplete preference values across content to main process boundaries
Categories
(Toolkit :: Form Autofill, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
In bug 1697392 we are looking to use FormHistory.getAutoCompleteResults
directly from the search suggestion code.
When trying that out, I realised that we would need to pass a set of parameters that are obtained from preferences.
Digging a bit more, I realised that these parameters are never modified by the code - we load/cache them in the content process (assuming a separate content process), and then forward them across to the main process.
We can simplify this by having Prefs
within FormHistory.jsm
cache the preferences and then getAutoCompleteResults
can use them directly.
Assignee | ||
Comment 1•1 year ago
|
||
These are currently loaded from prefs in the content process, and then passed to the main process
without modification. To simplify this, we can load and manage these directly in FormHistory.
This also allows FormHistory.getAutoCompleteResults() to be called directly, without having to
replicate all the preferences.
Updated•1 year ago
|
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24dd86b49420 Avoid sending Form History autocomplete preference values across the content to mainProcess boundaries. r=credential-management-reviewers,sgalich
Comment 3•1 year ago
|
||
bugherder |
Description
•