Closed
Bug 1659805
Opened 4 years ago
Closed 4 years ago
Change SearchTestUtils to not use NetUtil, and to not require an argument to useMockIdleService
Categories
(Firefox :: Search, task, P2)
Firefox
Search
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 file)
I'd like to do a couple of minor changes to SearchTestUtils.jsm:
- Drop the use of
NetUtil.newChannel
for reading engines.json files - fetch is just as good and simpler (we possibly needed it before for reading utf-8 engine names, but the new configuration doesn't need that). - Drop the
registerCleanupFunction
parameter touseMockIdleService
. We can just useinit()
instead to define the function.
The latter one I want to use in a mochitest, so having that made simpler would be useful.
Assignee | ||
Comment 1•4 years ago
|
||
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/99e96116733a
Change SearchTestUtils to not use NetUtil, and to not require an argument to useMockIdleService. r=daleharvey
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox81:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•