Bug 1272239 - Part 1: Support completion for test database. r=francois

MozReview-Commit-ID: 85BALQHKSal
This commit is contained in:
dimi
2016-07-21 15:35:36 +08:00
parent 8437b8251b
commit 645c54eeb9
2 changed files with 0 additions and 6 deletions

View File

@@ -1601,9 +1601,6 @@ nsUrlClassifierDBService::GetCompleter(const nsACString &tableName,
return false;
}
MOZ_ASSERT(!StringBeginsWith(tableName, NS_LITERAL_CSTRING("test-")),
"We should never fetch hash completions for test tables");
// Otherwise, call gethash to find the hash completions.
return NS_SUCCEEDED(CallGetService(NS_URLCLASSIFIERHASHCOMPLETER_CONTRACTID,
completer));