function cancelDownload(downloadId) {
        return _extensionManagerCall(function (extensionManager) {
            return extensionManager.abortDownload(downloadId);
        });
    }
Attempts to synchronously cancel the given pending download. This may not be possible, e.g.
if the download has already finished.

@param {number} downloadId Identifier previously passed to download()