bug 218817. replace GetDownloadInfo with attributes on nsIExternalHelperAppService -

this means 2 new attributes:
readonly attribute nsIFile targetFile;
readonly attribute PRTime timeDownloadStarted;
(no caller of GetDownloadInfo needed all three pieces of information that it provided)

r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@147292 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2003-09-25 13:07:24 +00:00
parent b83ae34050
commit b9f3f42d1a
6 changed files with 94 additions and 67 deletions

View File

@@ -364,9 +364,7 @@ nsHelperAppDialog.prototype = {
// in that case).
// Need to get temporary file and check for executable-ness.
var ignore1 = new Object;
var ignore2 = new Object;
var tmpFile = this.mLauncher.getDownloadInfo( ignore1, ignore2 );
var tmpFile = this.mLauncher.targetFile;
// Default is Ok if the file isn't executable (and vice-versa).
result = !tmpFile.isExecutable();