summaryrefslogtreecommitdiff
path: root/toolkit/components/jsdownloads/src/DownloadIntegration.jsm
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/jsdownloads/src/DownloadIntegration.jsm')
-rw-r--r--toolkit/components/jsdownloads/src/DownloadIntegration.jsm8
1 files changed, 1 insertions, 7 deletions
diff --git a/toolkit/components/jsdownloads/src/DownloadIntegration.jsm b/toolkit/components/jsdownloads/src/DownloadIntegration.jsm
index d47ebcd638..039978c52e 100644
--- a/toolkit/components/jsdownloads/src/DownloadIntegration.jsm
+++ b/toolkit/components/jsdownloads/src/DownloadIntegration.jsm
@@ -312,9 +312,7 @@ this.DownloadIntegration = {
}
let directoryPath = null;
-#ifdef XP_MACOSX
- directoryPath = this._getDirectory("DfltDwnld");
-#elifdef XP_WIN
+#ifdef XP_WIN
// For XP/2K, use My Documents/Downloads. Other version uses
// the default Downloads directory.
let version = parseFloat(Services.sysinfo.getProperty("version"));
@@ -383,11 +381,7 @@ this.DownloadIntegration = {
*/
getTemporaryDownloadsDirectory: Task.async(function* () {
let directoryPath = null;
-#ifdef XP_MACOSX
- directoryPath = yield this.getPreferredDownloadsDirectory();
-#else
directoryPath = this._getDirectory("TmpD");
-#endif
return directoryPath;
}),