• jam's avatar
    Fix NavigationControllerBrowserTest.SubframeForwardRedirect with PlzNavigate... · 015ba065
    jam authored
    Fix NavigationControllerBrowserTest.SubframeForwardRedirect with PlzNavigate and site isolation enabled.
    
    The problem is that NavigationRequest::dest_site_instance_ is set in the constructor of that class. If RenderFrameHostManager::CanSubframeSwapProcess determines that a cross process redirect should happen for the subframe (because of site isolation) then we might need to use a new site instance.
    
    BUG=674734
    CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
    
    Review-Url: https://codereview.chromium.org/2594263004
    Cr-Commit-Position: refs/heads/master@{#442053}
    015ba065
navigation_request.cc 29.4 KB