diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-16 11:48:00 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-01 15:28:15 +0200 |
commit | 426a9755d99a9fc818f151d407cbc9bdcd434a5f (patch) | |
tree | dd88a166e589e344e1cd7be7eb24488552790405 /toolkit/components/aboutmemory/content | |
parent | c14bb310ce237c375a5cf4a89e7689ddfbf016c5 (diff) | |
download | uxp-426a9755d99a9fc818f151d407cbc9bdcd434a5f.tar.gz |
Issue #1053 - Remove Android systrace, more build system removals.
Also updates more comments.
Diffstat (limited to 'toolkit/components/aboutmemory/content')
-rw-r--r-- | toolkit/components/aboutmemory/content/aboutMemory.js | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/toolkit/components/aboutmemory/content/aboutMemory.js b/toolkit/components/aboutmemory/content/aboutMemory.js index 100228c4bb..1411c31204 100644 --- a/toolkit/components/aboutmemory/content/aboutMemory.js +++ b/toolkit/components/aboutmemory/content/aboutMemory.js @@ -2008,18 +2008,6 @@ function saveReportsToFile() } }; - try { - fp.init(window, "Save Memory Reports", Ci.nsIFilePicker.modeSave); - } catch (ex) { - // This will fail on Android, since there is no Save as file picker there. - // Just save to the default downloads dir if it does. - Downloads.getSystemDownloadsDirectory().then(function(dirPath) { - let file = FileUtils.File(dirPath); - file.append(fp.defaultString); - fpFinish(file); - }); - - return; - } + fp.init(window, "Save Memory Reports", Ci.nsIFilePicker.modeSave); fp.open(fpCallback); } |