Closed Bug 1919146 Opened 1 year ago Closed 1 year ago

Check that all Glean.* calls made in Firefox desktop's JavaScript code are free of typos

Categories

(Toolkit :: Telemetry, task)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: florian, Assigned: florian)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Because it's easy to make a typo (eg. incorrect case on one character) in Glean.categoryName.metricName.method() and not notice if the code is not covered by automated tests, I think we should have an automated test that statically checks all such JS calls against the content of the actual Glean object.

Pushed by fqueze@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb5ba7567224 Check that all Glean.* calls made in Firefox desktop's JavaScript code are free of typos, r=chutten.
Blocks: 1919285
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Depends on: 1947885
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: