Don't show blocked quick suggest suggestions even when they match the user's search string
Categories
(Firefox :: Address Bar, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | verified |
People
(Reporter: adw, Assigned: daisuke)
References
()
Details
Attachments
(1 file)
Blocked quick suggest suggestions should not be shown to the user, neither as best matches nor as usual matches. This logic should probably be implemented inside UrlbarProviderQuickSuggest because it should apply to suggestions from both remote settings and Merino. Both UrlbarQuickSuggest and Merino would still be allowed to return matching suggestions to the provider, and then the provider should check whether a fetched suggestion is blocked and if so it should not create and add a result for it.
This doesn't involve UI at all so it should be simpler than the other best-match bugs that do.
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Reporter | ||
Comment 3•3 years ago
|
||
STR for QA:
This bug is important because it should prevent blocked suggestions from showing up in new searches. Blocked suggestions should not appear as best matches or as usual Suggest suggestions. There are a variety of STR, for example:
- Enable Firefox Suggest
- Enable best match by setting
browser.urlbar.bestMatch.enabled
to true - Type "amazon" to trigger a best match
- Pick the thumbs-down block button in the best match
- Verify the best match row disappears
- Clear the input and type "amazon" again
- Verify the Amazon suggestion does not appear. It should not appear as a best batch or a usual Suggest suggestion
- Type "betty" to trigger the Betty White Wikipedia best match
- Pick the thumbs-down block button in the best match
- Verify the best match row disappears
- Clear the input and type "betty" again
- Verify the Betty White Wikipedia suggestion does not appear. It should not appear as a best batch or a usual Suggest suggestion
- Clear the input and type "amazon" again
- Verify the Amazon suggestion does not appear again
- Restart Firefox and repeat the searches. The blocked suggestions should not appear
- Reset the
browser.urlbar.quickSuggest.blockedDigests
pref and repeat the searches. This time, the previously blocked suggestions should appear because they are no longer blocked due to clearing the pref
Comment 4•3 years ago
|
||
bugherder |
Comment 5•3 years ago
|
||
I have verified this issue on the latest Nightly 99.0a1 build (Build ID: 20220223093800) on Windows 10 x64, macOS 10.15.7 and Linux Mint 20.
- In order to verify this issue I have used the STR described in comment 3.
- The results are successfully dismissed and they no longer appear (in "Top Pick" section or "Firefox Suggest section).
- The results are re-displayed after the pref is deleted.
Description
•