Enforce a two-character threshold for Suggest matches
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | fixed |
People
(Reporter: adw, Assigned: adw)
References
Details
(Whiteboard: [sng])
Attachments
(1 file)
There was an error in the AMP keywords recently where one keyword was only a single character. Desktop doesn't enforce any threshold for Suggest suggestions, so it was possible to match this keyword and its suggestion after typing only one character. Per Nive, that should never happen and we should enforce a two-character threshold in the client. This is the same two-char threshold urlbar enforces for remote suggestions (search engine suggestions, Merino, etc.).
| Assignee | ||
Comment 1•2 years ago
|
||
Comment 3•2 years ago
|
||
Backed out for causing bc failures in browser_quicksuggest_onboardingDialog.js
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_onboardingDialog.js | "onboardingSkipLink" == "onboardingReject" - {"filename":"chrome://mochitests/content/browser/browser/components/urlbar/tests/quicksuggest/browser/browser_quicksuggest_onboardingDialog.js","name":"assertFocusOrder","sourceId":745,"lineNumber":998,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"
Comment 4•2 years ago
•
|
||
Sorry for this, it looks like this is not the cause for that failure. I will reland it.
Comment 7•2 years ago
|
||
| bugherder | ||
Comment 9•2 years ago
|
||
Comment 7 was actually reverted by this merge commit https://hg.mozilla.org/mozilla-central/rev/511c4cab0c008207c1ab7a1d4b14479f4f315f84 so there was no actual change meant by the original patch.
Comment 8 should fix this, until then those changes are not in central until the next merge.
Comment 10•2 years ago
|
||
| bugherder | ||
Updated•2 years ago
|
Updated•2 years ago
|
Description
•