Spelling error in console warning: "Unkown category"
Categories
(Toolkit :: Telemetry, defect, P3)
Tracking
()
People
(Reporter: jaws, Assigned: dilip.sridhar.c, Mentored)
References
(Regression)
Details
(Keywords: good-first-bug, regression, Whiteboard: [good first bug][lang=c++])
Attachments
(1 file)
Unkown should be replaced with Unknown.
Reporter | ||
Comment 1•6 years ago
|
||
While fixing this bug, we should update the warning to include the category name that can't be found.
Comment 2•6 years ago
|
||
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.
- Fix the typo mentioned in the first comment
- Add the category name to the error message
- 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
. Check your changes for adherence to our style guidelines by usingmach lint
- Submit the patch for review. Mark me or :jaws as a reviewer so we'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.
Comment 3•6 years ago
|
||
:jaws, can you state what's the best way to include the category name? Just nsPrintfCString
?
Updated•6 years ago
|
Reporter | ||
Comment 4•6 years ago
|
||
The following compiles for me but I'm not sure if it's the best route:
NS_ConvertUTF8toUTF16(NS_LITERAL_CSTRING("Unknown category for SetEventRecordingEnabled: ") + category));
Georg, does that look OK to you?
Updated•6 years ago
|
Comment hidden (typo) |
Comment hidden (typo) |
Comment hidden (typo) |
Comment hidden (typo) |
Comment hidden (typo) |
Assignee | ||
Comment 11•6 years ago
|
||
Comment hidden (typo) |
Reporter | ||
Updated•6 years ago
|
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
I approved the patch and pushed it off to autoland. After some tests it will get merged into the main repository and land in Firefox soon.
Assignee | ||
Comment 15•6 years ago
|
||
Hey Jan,
Thanks for the review. Could you kindly help me find my next contribution.
Thanks,
//Dilip
Comment 16•6 years ago
|
||
bugherder |
Comment 17•6 years ago
|
||
@DILIP: Unfortunately I don't have any good next bugs at hand in our Telemetry module, but if you head over to Codetribute you might be able to find something suitable in another part of Firefox or the wider Mozilla projects ecosystem.
Assignee | ||
Comment 18•6 years ago
|
||
@Jan - I will check it out. Thank you for your support and mentoring with this bug. It was a great experience working with you.
Thanks,
//Dilip
Updated•3 years ago
|
Updated•3 years ago
|
Description
•