Closed Bug 1505594 Opened 8 years ago Closed 7 years ago

Removing a requested locale puts it ahead of its label in the available dropdown

Categories

(Firefox :: Settings UI, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 65
Tracking Status
firefox65 --- fixed

People

(Reporter: mstriemer, Assigned: mstriemer)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

The condition for the `findIndex()` call is incorrect. It was previously a for loop which would continue in that case, but was converted to a `findIndex()` call without flipping the condition. [1] https://searchfox.org/mozilla-central/rev/6e0e603f4852b8e571e5b8ae133e772b18b6016e/browser/components/preferences/browserLanguages.js#213
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/12bc8eb3b359 Put removed browser locale in the right order r=jaws
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: