Commit 56f9b7bc authored by Gijs Kruitbosch's avatar Gijs Kruitbosch Committed by Pier Angelo Vendrame
Browse files

Bug 1842187 a=dmeehan

parent 3cf43dda
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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, {});
  },

  /**