Chromium Code Reviews
DescriptionPlzNavigate: make SitePerProcessBrowserTest.NavigateRemoteAfterError work
This CL fixes an issue with SitePerProcessBrowserTest.NavigateRemoteAfterError
that was preventing it from passing with PlzNavigate enabled. The test was
mixing TestNavigationObservers with TestFrameNavigationObservers, which
resulted in calling NavigateIframeToURL while the frame was still considered as
loading when PlzNavigate is enabled. Hence WebContents was never notifying its
observer that it started loading due to the new navigation. When the navigation
would stop, TestNavigationObserver would discard the stop since it considered
thta the navigation never started. Now the test waits until the navigation has
stopped in the whole tree before calling NavigateIframeToURL.
BUG=475027
Committed: https://crrev.com/7531fd26bbaa1ed8a4041d8fb15983463eeab70e
Cr-Commit-Position: refs/heads/master@{#377873}
Patch Set 1 #Patch Set 2 : #
Total comments: 4
Patch Set 3 : Rebase + addressed comments #
Messages
Total messages: 12 (6 generated)
|
||||||||||||||||||||||||||||