summaryrefslogtreecommitdiffstats
path: root/toolkit/components/jsdownloads/src
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/jsdownloads/src')
-rw-r--r--toolkit/components/jsdownloads/src/DownloadIntegration.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/jsdownloads/src/DownloadIntegration.jsm b/toolkit/components/jsdownloads/src/DownloadIntegration.jsm
index 1d289c24d..1c30599f5 100644
--- a/toolkit/components/jsdownloads/src/DownloadIntegration.jsm
+++ b/toolkit/components/jsdownloads/src/DownloadIntegration.jsm
@@ -697,7 +697,7 @@ this.DownloadIntegration = {
// to do this check. The second is that the system-level security prompt
// would be displayed at launch time in any case.
if (file.isExecutable() && !isWindowsExe &&
- !(await this.confirmLaunchExecutable(file.path))) {
+ !(yield this.confirmLaunchExecutable(file.path))) {
return;
}