Bug 1395355 - Typo preventing locale distribution engines from loading. r=gandalf
authorMichael Kaply <mozilla@kaply.com>
Wed, 30 Aug 2017 17:15:55 -0500
changeset 377849 2588e09380d0d5eafecc11d356258b1fb211ce69
parent 377848 d73e79c0d9d4f5f85b6586aaa405916df8358d63
child 377850 349be74f60cd26883006fc669b06620b2ecdda8e
push id32416
push userarchaeopteryx@coole-files.de
push dateThu, 31 Aug 2017 12:35:23 +0000
treeherdermozilla-central@c9079d347aaa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgandalf
bugs1395355
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1395355 - Typo preventing locale distribution engines from loading. r=gandalf MozReview-Commit-ID: DerafUV5lNA
mobile/android/components/DirectoryProvider.js
--- a/mobile/android/components/DirectoryProvider.js
+++ b/mobile/android/components/DirectoryProvider.js
@@ -108,17 +108,17 @@ DirectoryProvider.prototype = {
       array.push(commonPlugins);
 
     let localePlugins = searchPlugins.clone();
     localePlugins.append("locale");
     if (!localePlugins.exists())
       return;
 
     let curLocale = "";
-    let reqLocales = Services.locales.getRequestedLocales();
+    let reqLocales = Services.locale.getRequestedLocales();
     if (reqLocales.length > 0) {
       curLocale = reqLocales[0];
     }
 
     if (curLocale) {
       let curLocalePlugins = localePlugins.clone();
       curLocalePlugins.append(curLocale);
       if (curLocalePlugins.exists()) {