diff --git a/toolkit/components/jsdownloads/src/DownloadIntegration.jsm b/toolkit/components/jsdownloads/src/DownloadIntegration.jsm index 1d289c24da..1c30599f5a 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; }