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:
dimi
2017-01-17 08:33:08 +08:00
parent 18628185f3
commit 9cac186808
9 changed files with 89 additions and 46 deletions

View File

@@ -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 {