Chromium Code Reviews
        
  DescriptionConvert more test helpers to base::RunLoop, fix page title checks.
This CL removes the "deferred quit" from most of the touched helpers.
The exclusions are UrlCommitObserver and TestFrameNavigationObserver.
They were already using immediate quit mode, so there is no change in
their behavior, just cleanup.
Regarding title checks in browser_browsertest.cc: in these tests there
is no guarantee on when the new tab will start and stop loading. It
can start loading after WindowedNotificationObserver::Wait returns; also
it can stop loading while we're still inside it. We can explicitly wait
for the title to handle all these cases, and this makes the call to
WaitForLoadStop unnecessary.
BUG=668707
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2601843002
Cr-Commit-Position: refs/heads/master@{#443395}
Committed: https://chromium.googlesource.com/chromium/src/+/e7469132628fa7bd530d68c134e4159d2cfc1804
   
  Patch Set 1 #Patch Set 2 : Fix tests. #Patch Set 3 : Revert changes in TestNavigationObserver. #Patch Set 4 : Enable using bare RunLoop in cast_shell_browsertests and the like. #Patch Set 5 : Remove unneeded call. #
      Total comments: 2
      
     
  
  Messages
    Total messages: 36 (27 generated)
     
  
  
       |