mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 957902: back out changeset aeef01e3a52a (bug 950405), disabling the temporary whatsnew page for en-US Nightly users
This commit is contained in:
parent
d328ec611d
commit
bd7d2ee4fd
@ -583,25 +583,6 @@ nsBrowserContentHandler.prototype = {
|
||||
|
||||
overridePage = overridePage.replace("%OLD_VERSION%", old_mstone);
|
||||
break;
|
||||
|
||||
// Temporary case for Australis whatsnew
|
||||
case OVERRIDE_NEW_BUILD_ID:
|
||||
let locale = "en-US";
|
||||
try {
|
||||
locale = Services.prefs.getCharPref("general.useragent.locale");
|
||||
} catch (e) {}
|
||||
|
||||
let showedAustralisWhatsNew = false;
|
||||
try {
|
||||
showedAustralisWhatsNew = Services.prefs.getBoolPref("browser.showedAustralisWhatsNew");
|
||||
} catch(e) {}
|
||||
|
||||
// Show the Australis whatsnew page for en-US if we haven't yet shown it
|
||||
if (!showedAustralisWhatsNew && locale == "en-US") {
|
||||
Services.prefs.setBoolPref("browser.showedAustralisWhatsNew", true);
|
||||
overridePage = "https://www.mozilla.org/en-US/firefox/29.0a1/whatsnew/";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (ex) {}
|
||||
|
Loading…
Reference in New Issue
Block a user