AW: block billing threats
No change to default behavior, because this logic is behind a flag.
This blocks billing threats in WebView, and adds some tests for this
functionality. This involves:
* Add necessary resources to WebView's whitelist
* Test Loud and Quiet interstitials
* Test we use the correct threat type integer in onSafeBrowsingHit
* Test that the Feature is disabled on trunk
* Add hardcoded WebUI URL for billing interstitial (also for Chrome)
R=changwan@chromium.org, vakh@chromium.org
Feature enabled via commandline flag.
This is necessary to stay consistent with Chrome.
Bug: 887186
Test: run_webview_instrumentation_test_apk --gtest_filter=SafeBrowsingTest#*Billing*
Test: Manual - load chrome://safe-browsing/match?type=billing with
Binary-Size: Increase is due to added WebView strings for the new interstitials.
Change-Id: I695c39ffdd79ef5e771027953bfffc327fc6864b
Reviewed-on: https://chromium-review.googlesource.com/c/1270476Reviewed-by:
Carlos IL <carlosil@chromium.org>
Reviewed-by:
Changwan Ryu <changwan@chromium.org>
Reviewed-by:
Varun Khaneja <vakh@chromium.org>
Commit-Queue: Nate Fischer <ntfschr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600145}
Showing
Please register or sign in to comment