Remove dead telemetry/healthreport tests and other references to advancedPrefs
Categories
(Firefox :: Settings UI, task, P5)
Tracking
()
People
(Reporter: Gijs, Assigned: dwalker, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [lang=css])
Attachments
(1 file)
While reviewing https://phabricator.services.mozilla.com/D149665 I looked for 'advanced' in preferences code.
This found me this set of things:
https://searchfox.org/mozilla-central/search?q=advancedPrefs
There's some CSS and 2 telemetry-related tests.
In bug 1075055 we added some test(s) for telemetry and/or healthreport.
In bug 1545552 we noticed that it wasn't running. But we kept a skip-if
test in the manifest that checks if telemetry
is true. But from a quick look at a random log file, telemetry is false
anyway:
[task 2022-06-21T22:12:25.759Z] 22:12:25 INFO - telemetry: False
this makes sense (don't want test jobs sending telemetry), and anyway, AFAICT both browser_telemetry.js and browser_healthreport.js have been broken a while (they time out if run locally), because the advancedPrefs
element which both rely on per the searchfox query above has not existed for a while now.
Dexter, unless you object, I'd like to suggest removing all of this.
Comment 1•1 year ago
|
||
(In reply to :Gijs (he/him) from comment #0)
Dexter, unless you object, I'd like to suggest removing all of this.
No objection, but let's ask :chutten to make sure.
Comment 2•1 year ago
|
||
Yeah, I can confirm that there's nothing in Telemetry that should be troubled by this removal.
Reporter | ||
Comment 3•1 year ago
|
||
To fix this bug we need to remove the two test files linked in https://searchfox.org/mozilla-central/search?q=advancedPrefs (using hg remove
or the git equivalent), and their references from the browser.ini
file in the same directory. And we'll want to remove the CSS rule that also shows up in those search results.
Assignee | ||
Comment 4•9 months ago
|
||
Updated•9 months ago
|
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7cc8c4395eb1 remove unused style rule (advancedPrefs). r=mstriemer,preferences-reviewers
Comment 6•9 months ago
|
||
bugherder |
Updated•8 months ago
|
Description
•