Bug 1465458 - Fix launching downloads without a file extension on Windows. r=mak

MozReview-Commit-ID: 6VYjHM46gZx

--HG--
extra : rebase_source : 56e45713138b32adf7f36d9ae65c264e1976be47
This commit is contained in:
Paolo Amadini 2018-06-26 15:27:36 +01:00
Родитель ae4e60478a
Коммит 7de9e05fca
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -595,7 +595,7 @@ var DownloadIntegration = {
} }
let isWindowsExe = AppConstants.platform == "win" && let isWindowsExe = AppConstants.platform == "win" &&
fileExtension.toLowerCase() == "exe"; fileExtension && fileExtension.toLowerCase() == "exe";
// Ask for confirmation if the file is executable, except for .exe on // Ask for confirmation if the file is executable, except for .exe on
// Windows where the operating system will show the prompt based on the // Windows where the operating system will show the prompt based on the