Filter UwS warnings using the threat type set |
||||
Issue descriptionFollow up to issue 728732. We still want to avoid UwS errors, but now that http://crrev/2938993002 is landed, we can tell GMS to ignore the errors, instead of explicitly ignoring them after-the-fact in AwSafeBrowsingResourceThrottle::OnCheckBrowseUrlResult() [1]. We should instead exlude UwS from the SBThreatTypeSet passed to BaseResourceThrottle [2]. This keeps code cleaner, and will un-block https://codereview.chromium.org/2876473003/. This also requires changing the assumptions of MockSafeBrowsingApiHandler. This class needs to be changed to respect the threatTypes array, since the GMS dependency actually examines it. [1] https://cs.chromium.org/chromium/src/android_webview/browser/aw_safe_browsing_resource_throttle.cc?q=f:android_webview+f:resource_throttle&sq=package:chromium&l=60 [2] https://cs.chromium.org/chromium/src/android_webview/browser/aw_safe_browsing_resource_throttle.cc?q=f:android_webview+f:resource_throttle&sq=package:chromium&l=47
,
Jun 28 2017
Verification steps: same as in issue 728732.
,
Oct 11 2017
,
Aug 24
Bulk edit: marking stale 'fixed' bugs as 'verified' since they don't need verification at this point. |
||||
►
Sign in to add a comment |
||||
Comment 1 by bugdroid1@chromium.org
, Jun 28 2017