提交 9126dd3c 编写于 作者: M Mike Kaply

Bug 1292637 - Hardcode whatsnew page for zh-TW for Firefox 49. r=rstrong a=lizzard f=pike

--HG--
extra : amend_source : 1f0660922cb9a97af86b6119d0cf62900312746a
上级 a219b941
......@@ -514,6 +514,13 @@ nsBrowserContentHandler.prototype = {
willRestoreSession = ss.isAutomaticRestoreEnabled();
overridePage = Services.urlFormatter.formatURLPref("startup.homepage_override_url");
// Temporary hack for Firefox 49 to show whatsnew for zh-TW.
// See Bug #1292637
var locale = prefb.getCharPref("general.useragent.locale");
if (locale == "zh-TW") {
overridePage = "https://www.mozilla.org/zh-TW/firefox/49.0/whatsnew/";
}
if (prefb.prefHasUserValue("app.update.postupdate"))
overridePage = getPostUpdateOverridePage(overridePage);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册