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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user