Closed Bug 1884701 Opened 7 months ago Closed 7 months ago

Simplify removing engines during reload engines with search-config-v2

Categories

(Firefox :: Search, task, P3)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(2 files)

When running with search-config-v2 and we are reload engines, we are currently applying the "don't uninstall" policy for the application provided add-on when switching locales/regions - i.e. with search-config, if we removed an application provided engine, but added another app provided engine from the same add-on, then we wouldn't remove the add-on.

However, with search-config-v2 we don't have that restriction, and should always remove engines. This will mean that we can consistently clean them up, which I need for bug 1867288.

_reloadEngines is hitting its complexity limits, so we should divide it up a bit more.

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c688274dbae7 Move removing engines after SearchService._reloadEngines out to a separate function. r=search-reviewers,mcheang https://hg.mozilla.org/integration/autoland/rev/b357d3c92fb8 When running with search-config-v2, simplify removing engines when reloading engines. r=search-reviewers,mcheang
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: