Do not use RequestInfo::source_url.
This argument has incorrect value when displaying SSL interstitial and during provisional navigation. This CL replaces RequestInfo::source_url usage with WebState::GetLastCommittedURL, which actually represents page URL. RequestInfo::source_url will be deleted in a separate CL. Bug: None Test: App Launcher prompt works correctly. Cq-Include-Trybots: luci.chromium.try:ios-simulator-cronet;luci.chromium.try:ios-simulator-full-configs Change-Id: I0e320bd2d68df9eb96f5ca71c6e764bb12c6e7f5 Reviewed-on: https://chromium-review.googlesource.com/1217583Reviewed-by:Mohammad Refaat <mrefaat@chromium.org> Commit-Queue: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#593812}
Showing
Please register or sign in to comment