Backed out changeset 14b4af261515 (bug 1385609) for eslint failures in nsUrlClassifierLib.js. r=backout
This commit is contained in:
@@ -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);
|
||||
}
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user