DescriptionFixing flakiness of SaveDownloadableIFrame test.
The SaveDownloadableIFrame was flaky, because previously the call
to GetDownloadManager()->RemoveAllDownloads() could have happened
before the download of thisdayinhistory.xls has completed. In this
case the (still in-progress) download item would not be removed (and
would confuse/fail the remainder of the test).
Fixing this by having the test wait for download completion.
BUG=537530
TEST=browser_tests.exe --gtest_filter=*SavePageBrowserTest*SaveDownloadableIFrame* --gtest_repeat=100
Committed: https://crrev.com/d17fd202e89a14c2e85eaaf0ed3f49ccf42d2a17
Cr-Commit-Position: refs/heads/master@{#354911}
Patch Set 1 #Patch Set 2 : Rebasing... #Messages
Total messages: 10 (3 generated)
|