Open
Bug 1340651
Opened 7 years ago
Updated 2 years ago
Add a test that will look for improper use of 'Firefox' in dtd/properties files
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox54 | --- | affected |
People
(Reporter: jaws, Unassigned)
References
Details
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1259859 +++ We should have a script that runs on commit/check-in that looks at DTD/properties file changes and rejects the commit if 'Firefox' is used.
Reporter | ||
Updated•7 years ago
|
Comment 1•7 years ago
|
||
I remember at least one case where Firefox was wanted, so you might need exception support. Finding that bug is going to be complicated though.
Comment 2•7 years ago
|
||
We have a good deal of those in overrides, where we override general toolkit/network strings to be used by any kind of gecko-based thing with Firefox specific versions. As the gecko code generally doesn't require chrome://branding to exist, they don't do anything that would allow us to tell those code paths what our branding is. For anything that's not an override, this sounds like a good thing to do, though.
Reporter | ||
Comment 3•7 years ago
|
||
Yeah, we have the ability to mark exceptions, and we will cover overrides. I'm not sure if we will cover strings that are masked by overrides.
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Reporter | ||
Comment 4•7 years ago
|
||
The test that I'm uploading will fail until bug 1340618 is fixed.
Comment hidden (mozreview-request) |
Comment 6•7 years ago
|
||
That's a lot of exceptions! Are we sure none of these are bugs that need fixing?
Reporter | ||
Comment 7•7 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #6) > That's a lot of exceptions! Are we sure none of these are bugs that need > fixing? Most of those should have follow-up bugs to remove the exceptions. Most of the sync exceptions should be using syncBrand.dtd and most of the devtools exceptions should be using brandShortName. Though there are some things that we might want to keep as Firefox, or at least introduce another branding name for, such as the "Firefox Developer Tools" makes sense whereas "Developer Edition Developer Tools" doesn't make much sense.
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8838745 [details] Bug 1340651 - Update our misused characters test to check for instances of Firefox that should be using brandShortName. https://reviewboard.mozilla.org/r/113542/#review115160 Please include comments with bug numbers above the exceptions that we would like to see removed soon (will be r+ with that fixed).
Attachment #8838745 -
Flags: review?(florian) → review-
Reporter | ||
Updated•7 years ago
|
Assignee: jaws → nobody
Status: ASSIGNED → NEW
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•