Bug 431124 xpcshell test test_bug_395092.js fails on Thunderbird. r=sdwilsh, test-only change

This commit is contained in:
bugzilla@standard8.plus.com 2008-05-04 06:50:25 -07:00
Родитель 93664e1422
Коммит 1b4ae4fc79
1 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -135,14 +135,12 @@ function addDownload(aResultFileName)
var destFile = dirSvc.get("ProfD", Ci.nsIFile);
destFile.append(aResultFileName || "download.result");
var srcFile = dirSvc.get("ProfD", Ci.nsIFile);
srcFile.append("LICENSE");
// it is part of the active downloads the moment addDownload is called
gDownloadCount++;
var dl = dm.addDownload(nsIDownloadManager.DOWNLOAD_TYPE_DOWNLOAD,
createURI("http://localhost:4444/LICENSE"),
createURI("http://localhost:4444/res/language.properties"),
createURI(destFile), null, null,
Math.round(Date.now() * 1000), null, persist);