Index: chrome/test/functional/downloads.py |
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py |
index 0e7dda3bc266947a0405841a05ebe6cb2ea7b758..ceadd88668931edf3b7100b18cfb574246a136f0 100644 |
--- a/chrome/test/functional/downloads.py |
+++ b/chrome/test/functional/downloads.py |
@@ -138,6 +138,9 @@ class DownloadsTest(pyauto.PyUITest): |
# Trigger download and wait in new incognito window. |
self.DownloadAndWaitForStart(file_url, 1) |
self.WaitForAllDownloadsToComplete(1) |
+ # Remove next line when WaitForAllDownloadsToComplete can reliably wait |
+ # for downloads in incognito window. crbug.com/69738 |
+ self.WaitForDownloadToComplete(downloaded_pkg) |
incognito_downloads = self.GetDownloadsInfo(1).Downloads() |
# Verify that download info exists in the correct profile. |