Port bug 1493220: changed mozIOSPreferences API

RESOLVED FIXED in Thunderbird 64.0

Status

enhancement
RESOLVED FIXED
10 months ago
10 months ago

People

(Reporter: jorgk, Assigned: jorgk)

Tracking

Thunderbird 64.0
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

+++ This bug was initially created as a clone of Bug #1493313 +++

regionalPrefsLocales
https://dxr.mozilla.org/comm-central/search?q=etRegionalPrefsLocales++++++path%3Acomm%2F&redirect=false

Replace
  osprefs.getRegionalPrefsLocales()[0];
with
  osprefs.regionalPrefsLocales[0];

Three call sites. I think we don't use OSPreferences.systemLocales:
https://dxr.mozilla.org/comm-central/search?q=etSystemLocales+++++path%3Acomm%2F&redirect=false
But there ise:
https://dxr.mozilla.org/comm-central/search?q=ystemLocales+++++path%3Acomm%2F&redirect=false
which I think don't need treatment.

See announcement here:
https://groups.google.com/d/msg/mozilla.dev.platform/csDd-PFftLg/hOXKXpm4CgAJ
This might do it, hard to tell before seeing the final version of bug 1493220.
Attachment #9011181 - Flags: review?(makemyday)
Attachment #9011181 - Flags: review?(acelists)
Severity: critical → normal
Component: Testing Infrastructure → General
Comment on attachment 9011181 [details] [diff] [review]
1493374-regionalPrefsLocales.patch

Review of attachment 9011181 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks.
Attachment #9011181 - Flags: review?(makemyday) → review+
Comment on attachment 9011181 [details] [diff] [review]
1493374-regionalPrefsLocales.patch

Review of attachment 9011181 [details] [diff] [review]:
-----------------------------------------------------------------

Yes, thanks.
Attachment #9011181 - Flags: review?(acelists) → review+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/86e1a9121b5d
Port bug 1493220: Replace getRegionalPrefsLocales() with regionalPrefsLocales. r=aceman,MakeMyDay DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 64.0
You need to log in before you can comment on or make changes to this bug.