Backed out changeset 14b4af261515 (bug 1385609) for eslint failures in nsUrlClassifierLib.js. r=backout

This commit is contained in:
Sebastian Hengst
2017-09-05 19:04:43 +02:00
parent bf74b4b0bd
commit 061e6ef724
3 changed files with 5 additions and 14 deletions

View File

@@ -236,10 +236,7 @@ PROT_ListManager.prototype.setUpdateCheckTimer = function(updateUrl,
.createInstance(Ci.nsITimer);
this.updateCheckers_[updateUrl].initWithCallback(() => {
this.updateCheckers_[updateUrl] = null;
if (updateUrl && !this.checkForUpdates(updateUrl)) {
// Make another attempt later.
this.setUpdateCheckTimer(updateUrl, this.updateInterval);
}
this.checkForUpdates(updateUrl);
}, delay, Ci.nsITimer.TYPE_ONE_SHOT);
}
/**