diff --git a/toolkit/components/url-classifier/SafeBrowsing.jsm b/toolkit/components/url-classifier/SafeBrowsing.jsm index cb05cfb3f300..7feb94fd6a89 100644 --- a/toolkit/components/url-classifier/SafeBrowsing.jsm +++ b/toolkit/components/url-classifier/SafeBrowsing.jsm @@ -405,14 +405,14 @@ this.SafeBrowsing = { } } for (let i = 0; i < this.downloadBlockLists.length; ++i) { - if (this.downloadsEnabled) { + if (this.malwareEnabled && this.downloadsEnabled) { listManager.enableUpdate(this.downloadBlockLists[i]); } else { listManager.disableUpdate(this.downloadBlockLists[i]); } } for (let i = 0; i < this.downloadAllowLists.length; ++i) { - if (this.downloadsEnabled) { + if (this.malwareEnabled && this.downloadsEnabled) { listManager.enableUpdate(this.downloadAllowLists[i]); } else { listManager.disableUpdate(this.downloadAllowLists[i]);