Bug 1423618 - Remove hardcoded build time intl.locale.requested. r?pike draft
authorZibi Braniecki <zbraniecki@mozilla.com>
Wed, 06 Dec 2017 11:54:59 -0800
changeset 708362 e765c4b7bc1dbdeaf8c38b8a834026d9ad8b88af
parent 708361 dff2f7200586a6b5967d0d7b15bd64be41abeb19
child 743185 3d28b26fe07572a73be6010c22b0ea3756fdec79
push id92377
push userbmo:gandalf@aviary.pl
push dateWed, 06 Dec 2017 19:56:29 +0000
reviewerspike
bugs1423618
milestone59.0a1
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);