DownloadUIHelper: move async keyword position to prevent raising javascript error.

This commit is contained in:
roytam1 2022-06-30 22:17:30 +08:00
commit 3926096dfa

View file

@ -129,7 +129,7 @@ this.DownloadPrompter.prototype = {
*
* @resolves Boolean indicating whether the launch operation can continue.
*/
async confirmLaunchExecutable: function (aPath)
confirmLaunchExecutable: async function (aPath)
{
const kPrefConfirmOpenExe = "browser.download.confirmOpenExecutable";