Bug 1353584 - replace setTimeout with requestIdleCallback in _delayedCapture and return early on about: page in _shouldCapture. r=mconley
MozReview-Commit-ID: DaAcOTFBY6Q
This commit is contained in:
@@ -221,7 +221,7 @@ function whenFileExists(aURL, aCallback = next) {
|
||||
callback = () => whenFileExists(aURL, aCallback);
|
||||
}
|
||||
|
||||
executeSoon(callback);
|
||||
setTimeout(callback, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user