Closed Bug 1832198 Opened 2 years ago Closed 1 year ago

Remove adM/Wikipedia suggestions from memory when they are disabled

Categories

(Firefox :: Address Bar, task, P3)

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: adw, Assigned: adw)

References

Details

Attachments

(1 file)

If adM/Wikipedia remote settings suggestions are enabled and then later disabled, they stick around in memory, in AdmWikipedia.#suggestionsMap. The map should be cleared or set to null, here in enable().

Unfortunately a lot of the tests accidentally rely on the current behavior where suggestions are not cleared, and that's why fixing this isn't trivial.

This bug is spun out from bug 1831656, see discussion in https://phabricator.services.mozilla.com/D176779#inline-981608

Assignee: nobody → adw
Severity: S3 → N/A
Status: NEW → ASSIGNED

This is simple to fix after the changes made in bug 1861540 D192038.

Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/79de70379650 Remove Suggest suggestions from memory when their features are disabled. r=daisuke

Backed out for causing failures on browser_quicksuggest_mdn.js

Backout link

Push with failures

Failure log

Flags: needinfo?(adw)
Flags: needinfo?(adw)
Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e4d7e610b48d Remove Suggest suggestions from memory when their features are disabled. r=daisuke
Flags: qe-verify-
Flags: in-testsuite+
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
Regressions: 1869054
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: