Index: chrome/test/functional/downloads.py |
diff --git a/chrome/test/functional/downloads.py b/chrome/test/functional/downloads.py |
index 47bb3d67db1c4f50666018aacf33903280309d22..97236aba0575114a44b97517fe70869e66cc1810 100644 |
--- a/chrome/test/functional/downloads.py |
+++ b/chrome/test/functional/downloads.py |
@@ -64,6 +64,8 @@ class DownloadsTest(pyauto.PyUITest): |
def _GetDangerousDownload(self): |
"""Returns the file path for a dangerous download for this OS.""" |
sub_path = os.path.join(self.DataDir(), 'downloads', 'dangerous') |
+ if self.IsWin(): |
+ return os.path.join(sub_path, 'dangerous.com') |
return os.path.join(sub_path, 'dangerous.jar') |
def _EqualFileContents(self, file1, file2): |