Bug 1358333 - Fix APPLICATION_REPUTATION_ALLOWLIST_MATCH and APPLICATION_REPUTATION_BLOCKLIST_MATCH telemetry r=francois
MozReview-Commit-ID: DbI0uNdEwZ8
This commit is contained in:
@@ -158,8 +158,8 @@ LookupTablesInPrefs(const nsACString& tables, const char* aPref)
|
||||
|
||||
// We are checking if the table found is V2 or V4 to record telemetry
|
||||
// Both V2 and V4 begin with "goog" but V4 ends with "-proto"
|
||||
if (StringBeginsWith(prefToken, NS_LITERAL_CSTRING("goog"))) {
|
||||
if (StringEndsWith(prefToken, NS_LITERAL_CSTRING("-proto"))) {
|
||||
if (StringBeginsWith(table, NS_LITERAL_CSTRING("goog"))) {
|
||||
if (StringEndsWith(table, NS_LITERAL_CSTRING("-proto"))) {
|
||||
telemetryInfo |= TelemetryMatchInfo::eV4Match;
|
||||
} else {
|
||||
telemetryInfo |= TelemetryMatchInfo::eV2Match;
|
||||
|
||||
Reference in New Issue
Block a user