Closed Bug 1872295 Opened 2 years ago Closed 2 years ago

Enable the "browser.search.log" pref by default across all search unit tests

Categories

(Firefox :: Search, task, P1)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: scunnane, Assigned: scunnane)

References

Details

(Whiteboard: [sng])

Attachments

(1 file)

We can set a preference in xpcshell.toml to avoid having to push the "browser.search.log" pref anytime we create a new search unit test.

One key benefit is that if something causes lazy.SearchUtils.loggingEnabled to be set to the browser default value of false in the initial launch of the test, we can ensure that the logger is initialized with a true value by changing the default value.

Pushed by scunnane@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0bd8678e10b6 Enable the 'browser.search.log' pref by default across all search unit tests. r=jteow
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: