Focusing the searchbar shouldn't refetch suggestions
Categories
(Firefox :: Search, defect, P5)
Tracking
()
People
(Reporter: donaldepage, Unassigned)
Details
(Keywords: privacy, Whiteboard: [fxsearch])
Reporter | ||
Updated•9 years ago
|
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Comment 4•9 years ago
|
||
Updated•9 years ago
|
Updated•8 years ago
|
Comment 5•4 years ago
|
||
Marco, what are you thoughts on this bug? Is there a reason that we're not caching this already?
Comment 6•4 years ago
|
||
I think the only reason is that potentially in the meanwhile the suggestions could have changed on the other side. It's very unlikely though, but the component was built to requery every time.
Off-hand it may be happening around these lines
https://searchfox.org/mozilla-central/rev/4f07d49f1c7a823da07e3a231ac87c6435c8fd58/browser/components/search/content/searchbar.js#258-263
but I don't know why we start an empty search and then invoke handleText, as well as I don't know why we don't preserve the old values rather than searching.
It is feasible technically, whether we want to spend time on it is a different story.
Comment 7•4 years ago
|
||
Thank you, I agree this isn't high priority, but I think it still could be considered a valid bug, so will leave open for now.
Updated•4 years ago
|
Description
•