Bug 1147845 - Drop redundant check to keep blocked download data on Tier3 platforms as well. r=jaws, a=sledru
authorJan Beich <jbeich@FreeBSD.org>
Wed, 01 Apr 2015 08:27:00 +0200
changeset 258321 8ff6cc64abe8
parent 258320 98ac0c020205
child 258322 d384bdaed2fd
push id4645
push userryanvm@gmail.com
push date2015-04-07 15:05 +0000
treeherdermozilla-beta@8f0271f2c153 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, sledru
bugs1147845
milestone38.0
Bug 1147845 - Drop redundant check to keep blocked download data on Tier3 platforms as well. r=jaws, a=sledru
toolkit/components/jsdownloads/src/DownloadIntegration.jsm
--- a/toolkit/components/jsdownloads/src/DownloadIntegration.jsm
+++ b/toolkit/components/jsdownloads/src/DownloadIntegration.jsm
@@ -182,21 +182,17 @@ this.DownloadIntegration = {
    * @return boolean True if data should be kept.
    */
   shouldKeepBlockedData: function() {
     if (this.shouldBlockInTestForApplicationReputation) {
       return this.shouldKeepBlockedDataInTest;
     }
 
     const FIREFOX_ID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}";
-    let os = Services.appinfo.OS;
-    return Services.appinfo.ID == FIREFOX_ID &&
-           (os == "Darwin" ||
-            os == "Linux" ||
-            os == "WINNT");
+    return Services.appinfo.ID == FIREFOX_ID;
   },
 
   /**
    * Performs initialization of the list of persistent downloads, before its
    * first use by the host application.  This function may be called only once
    * during the entire lifetime of the application.
    *
    * @param aList