Closed
Bug 1519476
Opened 6 years ago
Closed 6 years ago
Convert test_TelemetryScalars.js to use TelemetryTestUtils for getParentProcessScalars
Categories
(Toolkit :: Telemetry, defect, P3)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: chutten, Assigned: varundey20, Mentored)
References
(Blocks 1 open bug)
Details
(Whiteboard: [good first bug][lang=js])
Attachments
(1 file)
Thanks to bug 1518152 we now have a TelemetryTestUtils module that contains some common test code. test_TelemetryScalars.js should be changed to use the common code instead of its own getParentProcessScalars implementation.
To help Mozilla out with this bug, here's the steps:
- Comment here on the bug that you want to volunteer to help. I (or someone else) will assign it to you.
- Download and build the Firefox source code: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build
- If you have any problems, please ask on IRC (https://wiki.mozilla.org/Irc) in the #introduction channel. They're there to help you get started.
- You can also read the Developer Guide, which has answers to most development questions: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction
- Start working on this bug. You'll be working in the test_TelemetryScalars.js file, replacing its own getParentProcessScalars with calls to TelemetryTestUtils.getParentProcessScalars. The function signatures are slightly different, so we'll need to add Ci.nsITelemetry.DATASET_RELEASE_CHANNEL_OPTOUT to most calls.
- If you have any problems with this bug, please comment on this bug and set the needinfo flag for me. Also, you can find me and my teammates on the #telemetry channel on IRC (https://wiki.mozilla.org/Irc) most hours of most days.
- Build your change with
mach build
and test your change withmach test toolkit/components/telemetry/tests/test_TelemetryScalars.js
. Also check your changes for adherence to our style guidelines by usingmach lint
- Submit the patch for review. Mark me as a reviewer so I'll get an email to come look at your code.
- After a series of reviews and changes to your patch, I'll mark it for checkin or push it to autoland. Your code will soon be shipping to Firefox users worldwide!
- ...now you get to think about what kind of bug you'd like to work on next. Let me know what you're interested in and I can help you find your next contribution.
Assignee | ||
Comment 1•6 years ago
|
||
Is this anyway related to Bug 1519480? I wouldn't mind working on it if these two are similar.
Reporter | ||
Updated•6 years ago
|
Assignee: nobody → varundey20
Status: NEW → ASSIGNED
Reporter | ||
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Comment 2•6 years ago
|
||
Changed the reference of getParentProcessScalars in test_TelemetryScalars.js
Updated•6 years ago
|
Attachment #9037685 -
Attachment description: Fix 1519476 Change reference of getParentProcessScalars to TelemetryTestUtils → Bug 1519476 - Change reference of getParentProcessScalars to TelemetryTestUtils
Pushed by chutten@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/480c81578390
Change reference of getParentProcessScalars to TelemetryTestUtils r=chutten
Comment 4•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Comment 5•6 years ago
|
||
https://hg.mozilla.org/projects/cedar/rev/480c8157839021de247ead74bffb60ffb5c70a8c
Bug 1519476 - Change reference of getParentProcessScalars to TelemetryTestUtils r=chutten
You need to log in
before you can comment on or make changes to this bug.
Description
•