[Nav Experiment] Propagate virtual URL in ReloadWithUserAgentType.
This hides the internal URL used by WKBasedNavigationManager to force create an entry in WKBackForwardList when reloading with a different user agent type (see crrev.com/c/919175). Also fixed a bug in NavigationManagerTest which wasn't testing the redirect case when GetParam() == TEST_WK_BASED_NAVIGATION_MANAGER. Bug: 833958 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I095178302bfc4d209c2d058aab736777cc8b2de4 Reviewed-on: https://chromium-review.googlesource.com/1016002Reviewed-by:Eugene But <eugenebut@chromium.org> Commit-Queue: Danyao Wang <danyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#551548}
Showing
Please register or sign in to comment