third_party/js/mozmill/shared-modules/downloads.js
function downloadManager_deleteDownloadedFiles(downloads) {
    downloads.forEach(function(download) {
      try {
        var file = getLocalFileFromNativePathOrUrl(download.target);
        file.remove(false);
      } catch (ex) {
      }
    });
  }
function downloadManager_deleteDownloadedFiles(downloads) {
    downloads.forEach(function(download) {
      try {
        var file = getLocalFileFromNativePathOrUrl(download.target);
        file.remove(false);
      } catch (ex) {
      }
    });
  }
function downloadManager_deleteDownloadedFiles ( downloads ) { downloads . forEach ( function ( download ) { try { var file = getLocalFileFromNativePathOrUrl ( download . target ) ; file . remove ( false ) ; } catch ( ex ) { } } ) ; }
Delete all downloads from the local drive

@param {download} downloads
List of downloaded files
Delete all downloads from the local drive