Closed Bug 1804525 Opened 2 years ago Closed 1 year ago

Make weather suggestions blockable

Categories

(Firefox :: Address Bar, task, P2)

task

Tracking

()

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: adw, Assigned: adw)

References

Details

Attachments

(1 file)

Weather suggestions need to be blockable/dismissable.

https://mozilla-hub.atlassian.net/browse/SNT-347

This makes the weather suggestion blockable. It depends on the new isBlockable
payload property added in D163766. The suggestion's row in the view will
automatically get a block button by setting that property.

We don't have an existing browser-chrome test for the block button by itself to
make sure picking it removes the row, so I added a task to
browser_remove_match.js.

The change to test_weather.js makes sure calling blockResult() on the provider
correctly disables the suggest.weather pref.

Depends on D163766

Pushed by dwillcoxon@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc54fa985606
Make weather suggestions blockable. r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
Blocks: 1815018
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: