Minor cleanups in Localization.cpp
Categories
(Core :: Internationalization: Localization, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox-esr91 | --- | unaffected |
firefox91 | --- | unaffected |
firefox92 | --- | fixed |
firefox93 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Assignee | ||
Comment 1•3 years ago
|
||
Non-unified builds would choke on this file due to the missing includes.
Assignee | ||
Comment 2•3 years ago
|
||
At least this code seems to be doing twice the work in the common case:
Change the code to follow the more common "arrays are out-params" style,
and use in-place construction and early-returning when possible.
Depends on D122203
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2f0e000467f8 Add missing includes and clean-up Localization.cpp. r=zbraniecki https://hg.mozilla.org/integration/autoland/rev/10d3357fca07 Clean up argument conversions to avoid copies and double-work. r=zbraniecki
Assignee | ||
Comment 4•3 years ago
|
||
Comment on attachment 9235544 [details]
Bug 1724889 - Add missing includes and clean-up Localization.cpp. r=zbraniecki
Beta/Release Uplift Approval Request
- User impact if declined: Slower localization
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Relatively simple cleanup that makes Localization faster.
- String changes made/needed: none
Assignee | ||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2f0e000467f8
https://hg.mozilla.org/mozilla-central/rev/10d3357fca07
Comment 6•3 years ago
|
||
Comment on attachment 9235544 [details]
Bug 1724889 - Add missing includes and clean-up Localization.cpp. r=zbraniecki
Given that this isn't a new issue in 92, I would be more comfortable with this riding the trains.
Updated•3 years ago
|
Comment 7•3 years ago
|
||
This is a new issue in 92. It was introduced with the Localization-rs patchset
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Set release status flags based on info from the regressing bug 1613705
Comment 9•3 years ago
|
||
Comment on attachment 9235544 [details]
Bug 1724889 - Add missing includes and clean-up Localization.cpp. r=zbraniecki
In the future, it's always a good idea to call out when something's a regression from past behavior as that's definitely a factor we weigh when making approval decisions. Approved for 92.0b5.
Updated•3 years ago
|
Comment 10•3 years ago
|
||
bugherder uplift |
Description
•