Closed Bug 2053566 Opened 2 months ago Closed 2 months ago

Remove five unused toolkit.telemetry.dap_* preferences

Categories

(Toolkit :: DAP, task)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: Sylvestre, Assigned: nirmaladvani, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug, Whiteboard: [lang=js])

Attachments

(1 file)

Filing as a good first bug to learn workflows.

The following preferences (in modules/libpref/init/all.js) are never read. The DAP feature uses the dot-named prefs (toolkit.telemetry.dap.leader.url, toolkit.telemetry.dap.logLevel, ...) and is gated by the Nimbus dapTelemetry feature; these underscore-named prefs are leftovers. Please remove their definitions.

  • toolkit.telemetry.dap_enabled
  • toolkit.telemetry.dap_task1_enabled
  • toolkit.telemetry.dap_task1_taskid
  • toolkit.telemetry.dap_visit_counting_enabled
  • toolkit.telemetry.dap_visit_counting_experiment_list

Link to the code:
https://searchfox.org/mozilla-central/source/modules/libpref/init/all.js#544

To verify the fix:

  • Confirm each pref has no remaining users by searching its name on https://searchfox.org (only the definition should match).
  • Build the tree to make sure nothing breaks:
    ./mach build

Tutorial to contribute:
https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
https://firefox-source-docs.mozilla.org/contributing/stack_quickref.html

Please don't ask for the bug to be assigned. It will be automatically assigned to the first patch.

Assignee: nobody → nirmaladvani
Status: NEW → ASSIGNED
Attachment #9613747 - Attachment description: Bug 2053566 - Remove unused toolkit.telemetry.dap_* preferences r?Sylvestre → Bug 2053566 - Remove unused toolkit.telemetry.dap_* preferences r=Sylvestre
Attachment #9613747 - Attachment description: Bug 2053566 - Remove unused toolkit.telemetry.dap_* preferences r=Sylvestre → Bug 2053566 - Remove unused toolkit.telemetry.dap_* preferences r?Sylvestre

The new revision contains my correct author name in git commit.

There is an r+ patch which didn't land and no activity in this bug for 1 week.
:nirmaladvani, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(sfriedberger)
Flags: needinfo?(nirmaladvani)

I don't think I need to do anything here.

Herald added a project: needs-testing-tag. · View Herald TranscriptThu, Jul 23, 6:07 PM
Comment Actions

This revision requires a Testing Policy Project Tag to be set before landing. Please apply one of testing-approved, testing-exception-unchanged, testing-exception-ui, testing-exception-elsewhere, testing-exception-other. Tip: this Firefox add-on makes it easy!

Besides, I don't know if it requires testing or not.

Flags: needinfo?(nirmaladvani)

i did it and no need to test

Flags: needinfo?(sfriedberger)

Thanks

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: