commit | ee23c63ddca0c64dede76eb9a63c3a555436f6cf | [log] [tgz] |
---|---|---|
author | Joe DeBlasio <jdeblasio@chromium.org> | Tue Mar 19 21:51:49 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 19 21:51:49 2019 |
tree | dee9b057c4d28be1cca019dacd17334a2a65717a | |
parent | 6a44584df0a4ee7abb60914e93254edb57b60631 [diff] |
Convert Lookalike URL throttle to use WillStartRequest. This CL modifies the lookalike URL throttle to block requests before they happen, rather than after they commit (but before Chrome processes their response). This keeps logic cleaner (e.g. by not needing to worry about remembering redirect chains across refreshed requests) at the expense of possibly showing two interstitials in a row if the URL would have triggered a different interstitial (as in invalid hostnames). Bug: 941886 Change-Id: I0b9277b6880cc6c1bf247481ce208f7a42e52b9a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1526806 Commit-Queue: Joe DeBlasio <jdeblasio@chromium.org> Reviewed-by: Mustafa Emre Acer <meacer@chromium.org> Cr-Commit-Position: refs/heads/master@{#642197}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .