Bug 1516147 - Port bug 1515611: Remove pref app.update.download.backgroundInterval. r=jorgk DONTBUILD
authorRichard Marti <richard.marti@gmail.com>
Sun, 23 Dec 2018 00:15:15 +0100
changeset 34052 691b074060a481d0aa2fff1a3f438b4de783c875
parent 34051 6ac307a0fdf91d00e40fb6ca598db63b84292118
child 34053 061051149fae89a285b3c912036e8c2cc65447bd
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersjorgk
bugs1516147, 1515611
Bug 1516147 - Port bug 1515611: Remove pref app.update.download.backgroundInterval. r=jorgk DONTBUILD
mail/base/content/specialTabs.js
mail/branding/nightly/thunderbird-branding.js
mail/branding/thunderbird/thunderbird-branding.js
--- a/mail/base/content/specialTabs.js
+++ b/mail/base/content/specialTabs.js
@@ -878,17 +878,17 @@ var specialTabs = {
    */
   showWhatsNewPage() {
     let um = Cc["@mozilla.org/updates/update-manager;1"]
                .getService(Ci.nsIUpdateManager);
 
     try {
       // If the updates.xml file is deleted then getUpdateAt will throw.
       var update = um.getUpdateAt(0)
-                     .QueryInterface(Ci.nsIPropertyBag);
+                     .QueryInterface(Ci.nsIWritablePropertyBag);
     } catch (x) {
       Cu.reportError("Unable to find update: " + x);
       return;
     }
 
     let actions = update.getProperty("actions");
     if (actions && actions.includes("silent"))
       return;
--- a/mail/branding/nightly/thunderbird-branding.js
+++ b/mail/branding/nightly/thunderbird-branding.js
@@ -7,16 +7,12 @@ pref("mailnews.start_page.url", "https:/
 
 // start page override to load after an update
 pref("mailnews.start_page.override_url", "https://live.thunderbird.net/%APP%/whatsnew?locale=%LOCALE%&version=%VERSION%&channel=%CHANNEL%&os=%OS%&buildid=%APPBUILDID%");
 
 // Interval: Time between checks for a new version (in seconds)
 // nightly=1 hour, official=24 hours
 pref("app.update.interval", 3600);
 
-// The time interval between the downloading of mar file chunks in the
-// background (in seconds)
-pref("app.update.download.backgroundInterval", 60);
-
 // Give the user x seconds to react before showing the big UI. nightly=1 hour
 pref("app.update.promptWaitTime", 3600);
 
 pref("app.vendorURL", "https://www.thunderbird.net/%LOCALE%/");
--- a/mail/branding/thunderbird/thunderbird-branding.js
+++ b/mail/branding/thunderbird/thunderbird-branding.js
@@ -3,18 +3,14 @@ pref("mailnews.start_page.url", "https:/
 
 // start page override to load after an update
 pref("mailnews.start_page.override_url", "https://live.thunderbird.net/%APP%/whatsnew?locale=%LOCALE%&version=%VERSION%&channel=%CHANNEL%&os=%OS%&buildid=%APPBUILDID%");
 
 // Interval: Time between checks for a new version (in seconds)
 // nightly=8 hours, official=24 hours
 pref("app.update.interval", 86400);
 
-// The time interval between the downloading of mar file chunks in the
-// background (in seconds)
-pref("app.update.download.backgroundInterval", 600);
-
 // Give the user x seconds to react before showing the big UI. default=24 hours
 pref("app.update.promptWaitTime", 86400);
 
 pref("app.vendorURL", "https://www.thunderbird.net/%LOCALE%/");
 
 pref("browser.search.param.ms-pc", "MOZT");