summaryrefslogtreecommitdiffstats
path: root/netwerk
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-12-01 22:27:41 +0000
committerMoonchild <moonchild@palemoon.org>2020-12-01 22:27:41 +0000
commitb1bbc9286d88d4d298c7422ae3678df51800a507 (patch)
treef3325511725ebfb856a402146dcd7c6380eab0d6 /netwerk
parentbb31c1c65e8b7fcdd3a1d6b80a4fe4c1f5b3d10a (diff)
parente43b01e58b5477b06736dcaa36979cd0e2fc33f0 (diff)
downloadUXP-b1bbc9286d88d4d298c7422ae3678df51800a507.tar
UXP-b1bbc9286d88d4d298c7422ae3678df51800a507.tar.gz
UXP-b1bbc9286d88d4d298c7422ae3678df51800a507.tar.lz
UXP-b1bbc9286d88d4d298c7422ae3678df51800a507.tar.xz
UXP-b1bbc9286d88d4d298c7422ae3678df51800a507.zip
Merge pull request 'Fix macOS version detection above 10.15 and update blocklist support to 11.0' (#1692) from dbsoft/UXP:Big_Sur_Version into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1692
Diffstat (limited to 'netwerk')
-rw-r--r--netwerk/protocol/http/nsHttpHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/netwerk/protocol/http/nsHttpHandler.cpp b/netwerk/protocol/http/nsHttpHandler.cpp
index 6e8ccc7bc..0de572914 100644
--- a/netwerk/protocol/http/nsHttpHandler.cpp
+++ b/netwerk/protocol/http/nsHttpHandler.cpp
@@ -845,8 +845,8 @@ nsHttpHandler::InitUserAgentComponents()
#elif defined(__i386__) || defined(__x86_64__)
mOscpu.AssignLiteral("Intel Mac OS X");
#endif
- SInt32 majorVersion = nsCocoaFeatures::OSXVersionMajor();
- SInt32 minorVersion = nsCocoaFeatures::OSXVersionMinor();
+ SInt32 majorVersion = nsCocoaFeatures::macOSVersionMajor();
+ SInt32 minorVersion = nsCocoaFeatures::macOSVersionMinor();
mOscpu += nsPrintfCString(" %d.%d", majorVersion, minorVersion);
#elif defined (XP_UNIX)
struct utsname name;