зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1596668, r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D58206 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
527d1bcaed
Коммит
29de7f7b00
|
@ -1526,7 +1526,10 @@ nsLocalFile::IsExecutable(bool* aResult) {
|
|||
// Search for any of the set of executable extensions.
|
||||
static const char* const executableExts[] = {
|
||||
"air", // Adobe AIR installer
|
||||
"jar" // java application bundle
|
||||
#ifdef MOZ_WIDGET_COCOA
|
||||
"fileloc", // File location files can be used to point to other files.
|
||||
#endif
|
||||
"jar" // java application bundle
|
||||
};
|
||||
nsDependentSubstring ext = Substring(path, dotIdx + 1);
|
||||
for (auto executableExt : executableExts) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче