From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- xpcom/io/CocoaFileUtils.mm | 2 +- xpcom/io/nsLocalFileCommon.cpp | 3 ++- xpcom/io/nsLocalFileCommon.h | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) (limited to 'xpcom/io') diff --git a/xpcom/io/CocoaFileUtils.mm b/xpcom/io/CocoaFileUtils.mm index 3710be864c..f45da3ec66 100644 --- a/xpcom/io/CocoaFileUtils.mm +++ b/xpcom/io/CocoaFileUtils.mm @@ -309,7 +309,7 @@ void CopyQuarantineReferrerUrl(const CFStringRef aFilePath, ::CFDictionaryGetValue(mutQuarantineProps, kLSQuarantineOriginURLKey); if (referrerRef && ::CFGetTypeID(referrerRef) == ::CFURLGetTypeID()) { // URL string must be copied prior to releasing the dictionary. - mozilla::CopyCocoaStringToXPCOMString( + mozilla::CopyNSStringToXPCOMString( (NSString*)::CFURLGetString(static_cast(referrerRef)), aReferrer); } diff --git a/xpcom/io/nsLocalFileCommon.cpp b/xpcom/io/nsLocalFileCommon.cpp index f6eabf2d0f..7e9d7151c1 100644 --- a/xpcom/io/nsLocalFileCommon.cpp +++ b/xpcom/io/nsLocalFileCommon.cpp @@ -139,7 +139,8 @@ const char* const sExecutableExts[] = { ".wsc", ".wsf", ".wsh", - ".xll" // MS Excel dynamic link library + ".xll", // MS Excel dynamic link library + ".xrm-ms" // clang-format on }; diff --git a/xpcom/io/nsLocalFileCommon.h b/xpcom/io/nsLocalFileCommon.h index 3db0ac9e89..96b7e1f06a 100644 --- a/xpcom/io/nsLocalFileCommon.h +++ b/xpcom/io/nsLocalFileCommon.h @@ -8,9 +8,9 @@ #define _NS_LOCAL_FILE_COMMON_H_ #ifdef MOZ_ESR -extern const char* const sExecutableExts[107]; -#else extern const char* const sExecutableExts[108]; +#else +extern const char* const sExecutableExts[109]; #endif #endif -- cgit v1.2.3