Bug 1328821 - hash completion request for v4 should not depend on table freshness. r=francois,henry
MozReview-Commit-ID: EIjDrnj1I4S
This commit is contained in:
@@ -1012,10 +1012,9 @@ nsUrlClassifierLookupCallback::LookupComplete(nsTArray<LookupResult>* results)
|
||||
}
|
||||
} else {
|
||||
// For tables with no hash completer, a complete hash match is
|
||||
// good enough, we'll consider it fresh, even if it hasn't been updated
|
||||
// in 45 minutes.
|
||||
// good enough, we'll consider it is valid.
|
||||
if (result.Complete()) {
|
||||
result.mFresh = true;
|
||||
result.mConfirmed = true;
|
||||
LOG(("Skipping completion in a table without a valid completer (%s).",
|
||||
result.mTableName.get()));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user