Closed
Bug 1558547
Opened 7 years ago
Closed 6 years ago
Rework static media prefs to use snake_case getters
Categories
(Core :: Audio/Video: Playback, task, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
People
(Reporter: bryce, Unassigned, Mentored)
References
Details
The media prefs in StaticPrefList.h have historically used upper camel case names. However, we should move towards snake case for the following reasons:
- The convention for static prefs is snake case.
- Bug 1553018 allows static prefs to be used in webidl
Pref=annotations and expects snake case names derived from the pref name. If we don't use the standard getter form, this is a footgun when trying to use webidl annotations. - Because of the above, we already have some snake case getters. Right now we're in an ugly middle ground, and it would be good to have consistency.
Comment 1•7 years ago
|
||
Type: defect → task
| Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Release mgmt bot [:sylvestre / :calixte] from comment #1)
Bugbug thinks this bug is a task, but please change it back in case of error.
Good bot, you're correct.
| Reporter | ||
Updated•6 years ago
|
Mentor: bvandyk
| Reporter | ||
Comment 3•6 years ago
|
||
I'm planning on breaking this bug out into some smaller bugs to help some different people have something to work on when familiarizing themselves with Media code. Please don't grab this bug or others related to it without checking in with me to avoid stepping on toes.
| Reporter | ||
Comment 4•6 years ago
|
||
Looks like this is no longer an issue since we're programatically generating the pref list since bug 1564724 which also fixes the issues noted in comment 0.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•