Clean up add-on manager integration in search service related tests
Categories
(Firefox :: Search, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Whiteboard: [sng])
Attachments
(3 files)
Now that bug 1906875 is done (well, almost landed), we have a lot of tests that can be cleaned up because we no longer need to initialise the add-on manager every time the search service starts - we only need it when a tests simulates a third party search engine WebExtension.
Hence we can do a lot of clean-up to avoid the calls to initialise it, and build the set-up that we do need into SearchTestUtils
to automatically happen when we need it. This should avoid quite a bit of boiler-plate code.
Updated•11 months ago
|
Assignee | ||
Comment 1•11 months ago
|
||
Assignee | ||
Comment 2•11 months ago
|
||
Assignee | ||
Comment 3•11 months ago
|
||
We no longer need to start the add-on manager before the search service starts, so init it only when it is needed for installing add-ons.
Comment 5•11 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ef56d77fe65f
https://hg.mozilla.org/mozilla-central/rev/72a88ea1cb75
https://hg.mozilla.org/mozilla-central/rev/2e01f7bbae0b
Description
•