TabLoadingFrameNavigationPolicy: Check navigation target URL scheme
Before this CL, ShouldThrottleWebContents checked last committed URL if it was eligible for the policy. However, since the navigation which we would like to apply policy hasn't committed yet, this was checking the WebContent's URL before navigation. This CL changes it to `GetURL()` so that it would check the scheme of the URL of the navigation target page. BUG=1082920 Change-Id: I1aed97316e985b62be581e6f6a8d5447c2fc28f5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2573851 Commit-Queue: Kouhei Ueno <kouhei@chromium.org> Reviewed-by:Chris Hamilton <chrisha@chromium.org> Cr-Commit-Position: refs/heads/master@{#833982}
Showing
Please register or sign in to comment