src/extensibility/node/ExtensionManagerDomain.js
function _cmdAbortDownload(downloadId) {
    if (!pendingDownloads[downloadId]) {
        // This may mean the download already completed
        return false;
    } else {
        _endDownload(downloadId, Errors.CANCELED);
        return true;
    }
}
function _cmdAbortDownload(downloadId) {
    if (!pendingDownloads[downloadId]) {
        // This may mean the download already completed
        return false;
    } else {
        _endDownload(downloadId, Errors.CANCELED);
        return true;
    }
}
function _cmdAbortDownload ( downloadId ) { if ( ! pendingDownloads [ downloadId ] ) { // This may mean the download already completed return false ; } else { _endDownload ( downloadId , Errors . CANCELED ) ; return true ; } }
Implements "abortDownload" command, synchronously.
Implements abortDownload command synchronously .