• Danyao Wang's avatar
    [Nav Experiment] Propagate virtual URL in ReloadWithUserAgentType. · f1291fb3
    Danyao Wang authored
    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: default avatarEugene But <eugenebut@chromium.org>
    Commit-Queue: Danyao Wang <danyao@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#551548}
    f1291fb3
navigation_manager_impl.mm 16.3 KB