Closed Bug 1941692 Opened 1 month ago Closed 1 month ago

Clean up the browser_telemetry_other.js Suggest test

Categories

(Firefox :: Address Bar, task, P3)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: adw, Assigned: adw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng])

Attachments

(1 file)

After we removed legacy Suggest telemetry events in bug 1921748, browser_telemetry_other.js only tests TelemetryEnvironment now. I'd like to rename it and clean it up a little.

This renames browser_telemetry_other.js to browser_telemetry_environment.js
since it only tests TelemetryEnvironment now.

A few tasks do the same thing (with different pref values), so I also factored
that out into a doToggleTest() helper.

Also, there are some chunks in this test that don't actually do anything
anymore, so I've removed them. Those chunks were modified in bug 1921748 due to
removal of some legacy telemetry events, and we should have removed them then
but it was my fault for not realizing that.

Depends on D234257

Pushed by dwillcoxon@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5b983147bba3 Rename and clean up the browser_telemetry_other.js Suggest test. r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Blocks: 1946894
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: