[XPCOM] Warn about .xrm-ms files on Windows (treat as executable)

This commit is contained in:
Moonchild 2024-04-17 16:30:00 +02:00 committed by roytam1
commit f6204a7ca8

View file

@ -3095,7 +3095,8 @@ nsLocalFile::IsExecutable(bool* aResult)
"wsc",
"wsf",
"wsh",
"xll" // MS Excel dynamic link library
"xll", // MS Excel dynamic link library
"xrm-ms"
};
nsDependentSubstring ext = Substring(path, dotIdx + 1);
for (size_t i = 0; i < ArrayLength(executableExts); ++i) {