This is an automated email from the git hooks/post-receive script.
richard pushed a commit to branch tor-browser-91.13.0esr-11.5-1 in repository tor-browser.
The following commit(s) were added to refs/heads/tor-browser-91.13.0esr-11.5-1 by this push: new a83148635e48 Bug 41413: reset install supplied locale pref so it persists a83148635e48 is described below
commit a83148635e482714e3c2a38d02b19f7a2241d691 Author: Dan Ballard dan@mindstab.net AuthorDate: Tue Nov 1 08:31:40 2022 -0700
Bug 41413: reset install supplied locale pref so it persists --- browser/components/BrowserGlue.jsm | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/browser/components/BrowserGlue.jsm b/browser/components/BrowserGlue.jsm index d41934720c25..1e6592909968 100644 --- a/browser/components/BrowserGlue.jsm +++ b/browser/components/BrowserGlue.jsm @@ -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); }
tbb-commits@lists.torproject.org