Bug 1375277 - New safebrowsing threat type "POTENTIALLY_HARMFUL_APPLICATION" introduced by v4. r=francois
As our threattype-listname conversion design, "goog-harmful-proto" is allocated for this new threat type. This threat type is mainly for mobile. MozReview-Commit-ID: G9GbgmHHHfp
This commit is contained in:
@@ -81,6 +81,9 @@ TablesToResponse(const nsACString& tables)
|
||||
if (FindInReadable(NS_LITERAL_CSTRING("-block-"), tables)) {
|
||||
return NS_ERROR_BLOCKED_URI;
|
||||
}
|
||||
if (FindInReadable(NS_LITERAL_CSTRING("-harmful-"), tables)) {
|
||||
return NS_ERROR_HARMFUL_URI;
|
||||
}
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user