DescriptionPlzNavigate: change behavior when navigating with a non-live RFH.
To fix a few tests the current behavior when navigating from a non-live RFH was changed so that the new, speculative one is immediately set as active matching what is done in RenderFrameHostManager::UpdateStateForNavigate. This replaced the behavior of simply bringing the current RFH back to life.
With this change 6 tests are fixed for PlzNavigate:
RenderFrameHostManagerTest.WebUI
WebContentsImplTest.NTPViewSource
RenderFrameHostManagerTest.NewTabPageProcesses
WebContentsImplTest.CrossSiteBoundariesAfterCrash
WebContentsImplTest.CrossSiteComparesAgainstCurrentPage
WebContentsImplTest.ShowInterstitialFromBrowserNewNavigationProceed
BUG=439423
Committed: https://crrev.com/085854f7049b11ce205a88427bbfc6abdbe021e7
Cr-Commit-Position: refs/heads/master@{#314543}
Patch Set 1 #Patch Set 2 : Small improvements to related test. #Patch Set 3 : Fixed test not checking for pending/speculative WebUI. #
Total comments: 6
Patch Set 4 : Changed getter name. #Patch Set 5 : Updated comment #
Messages
Total messages: 17 (3 generated)
|