Commit a8314863 authored by Dan Ballard's avatar Dan Ballard
Browse files

Bug 41413: reset install supplied locale pref so it persists

parent 9cdb667c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1416,6 +1416,10 @@ BrowserGlue.prototype = {
      Services.prefs.clearUserPref("security.enterprise_roots.auto-enabled");
    }

    if (!Services.prefs.prefHasUserValue("intl.locale.requested")) {
      Services.prefs.setStringPref("intl.locale.requested", Services.prefs.getStringPref("intl.locale.requested", ""));
    }

    if (!Services.prefs.prefHasUserValue(PREF_PDFJS_ISDEFAULT_CACHE_STATE)) {
      PdfJs.checkIsDefault(this._isNewProfile);
    }