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 33198 691b074060a4
parent 33197 6ac307a0fdf9
child 33199 061051149fae
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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");