| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM with one optional comment on whether to also guard the V4 notification-abuse path. Thanks for the thorough tests!
if (full_hashes.empty()) {Nit (optional): Should we also guard the V4 path below?
The V4 path has a similar pre-existing issue for dot-only hosts like https://./Foo.Bar/baz. GetFullHashesForNotificationAbuse() reduces the URL to its origin (https://./), so UrlToFullHashes() produces no hashes. That hits a DCHECK in V4GetHashProtocolManager::GetFullHashes(), and in non-DCHECK builds it logs a bogus CacheFullyHit metric.
Totally fine to leave V4 alone since it's being deprecated. If you do add a guard, the new test could also run under SafeBrowsingDatabaseManagerTest_V4V5.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |