Fix subframe loads with RenderViewTest when PlzNavigate is enabled.
While main frame loads already disabled the load being handled by the browser (in RenderViewTest::LoadHTML), requests from subframes are created inside Blink and so were missing that flag. Fix this by adding it in TestRenderFrame. Note this only modifies WebURLRequest::setCheckForBrowserSideNavigation, so that the other codepaths that check IsBrowserSideNavigationEnabled don't see any behavior change. This fixes ThreatDOMDetailsTest.Everything with PlzNavigate. BUG=504347 Review-Url: https://codereview.chromium.org/2557223002 Cr-Commit-Position: refs/heads/master@{#437654}
Showing
Please register or sign in to comment