Index: chrome/test/functional/downloads.py |
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py |
index 715ee57f375377efade29f31bfc31f9851a0ae8a..2bf822278d2b01e2478217d5c5bf363dba35d9fc 100644 |
--- a/chrome/test/functional/downloads.py |
+++ b/chrome/test/functional/downloads.py |
@@ -323,7 +323,7 @@ class DownloadsTest(pyauto.PyUITest): |
dangerous_dir = os.path.join( |
self.DataDir(), 'downloads', 'dangerous') |
assert os.path.isfile(os.path.join(dangerous_dir, filename)) |
- file_url = self.GetFileURLForDataPath(os.path.join( |
+ file_url = self.GetFileURLForPath(os.path.join( |
dangerous_dir, 'download-dangerous.html')) + '?' + filename |
num_downloads = len(self.GetDownloadsInfo().Downloads()) |
self.NavigateToURL(file_url, windex, tab_index) |