Bug 1423618 - Remove hardcoded build time intl.locale.requested. r=Pike
authorZibi Braniecki <zbraniecki@mozilla.com>
Wed, 06 Dec 2017 11:54:59 -0800
changeset 395373 e82fc38fe40de7de72e9172ee66d4646e30818e1
parent 395372 f6b4d071186895efd54fec3c529c86ab4d451395
child 395374 efde0448d7bb7e5a7bef4ac6a9c734f87f2981a3
push id33040
push userbtara@mozilla.com
push dateThu, 07 Dec 2017 10:50:47 +0000
treeherdermozilla-central@3c2576d4ea82 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersPike
bugs1423618
milestone59.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 1423618 - Remove hardcoded build time intl.locale.requested. r=Pike The new heuristic for requested locales in LocaleService makes the intl.locale.requested an override to the default locale. This patch removes the hardcoded setting of the pref to the build time locale, allowing LocaleService to pick the default locale by default. MozReview-Commit-ID: 3iaZYuHTxih
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -515,18 +515,16 @@ pref("browser.bookmarks.openInTabClosesM
 
 // Scripts & Windows prefs
 pref("dom.disable_open_during_load",              true);
 pref("javascript.options.showInConsole",          true);
 #ifdef DEBUG
 pref("general.warnOnAboutConfig",                 false);
 #endif
 
-pref("intl.locale.requested", "@AB_CD@");
-
 // This is the pref to control the location bar, change this to true to
 // force this - this makes the origin of popup windows more obvious to avoid
 // spoofing. We would rather not do it by default because it affects UE for web
 // applications, but without it there isn't a really good way to prevent chrome
 // spoofing, see bug 337344
 pref("dom.disable_window_open_feature.location",  true);
 // prevent JS from setting status messages
 pref("dom.disable_window_status_change",          true);