Chromium Code Reviews
Description[TTS] Fix a test that's failing with PlzNavigate enabled.
Fix ContextualSearchManagerTest_testPrefetchFailoverRequestMadeAfterOpen
failing with PlzNavigate. When we simulate a navigation failure we
follow that with a call to stop navigation. This causes
NavigationHandleImpl::GetPageTransition to fail an assert because
the navigation has not actually started yet, due to the way we
partially fake navigation in tests.
This CL vectors stopping the navigation through our NetworkCommunicator,
since network control actions should not run live in tests.
BUG=674303
Review-Url: https://codereview.chromium.org/2644933002
Cr-Commit-Position: refs/heads/master@{#444860}
Committed: https://chromium.googlesource.com/chromium/src/+/51787340a7c9f2c1c84a522f7dc8ac0b4025440f
Patch Set 1 #
Total comments: 2
Patch Set 2 : Just changed an @code to an @link. #Patch Set 3 : Decided to change back to @code in the comment. #
Messages
Total messages: 14 (9 generated)
|
|||||||||||||||||||||||||||||||||||||