зеркало из https://github.com/mozilla/gecko-dev.git
Bug 431124 xpcshell test test_bug_395092.js fails on Thunderbird. r=sdwilsh, test-only change
This commit is contained in:
Родитель
93664e1422
Коммит
1b4ae4fc79
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче