Skip to content
Snippets Groups Projects
Verified Commit 9db10b6c authored by Gijs Kruitbosch's avatar Gijs Kruitbosch Committed by Pier Angelo Vendrame
Browse files

Bug 1842187 a=dmeehan

parent ec469423
No related branches found
No related tags found
1 merge request!1453TB 43587: Rebased legacy onto 115.22.0esr
......@@ -175,7 +175,10 @@ DownloadPrompter.prototype = {
"download-ui-file-executable-security-warning",
{ executable: PathUtils.filename(path) }
);
return this._prompter.confirm(title, message);
let flags =
Ci.nsIPrompt.BUTTON_DELAY_ENABLE | Ci.nsIPrompt.STD_OK_CANCEL_BUTTONS;
let nulls = Array(4).fill(null);
return 0 == this._prompter.confirmEx(title, message, flags, ...nulls, {});
},
/**
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment