diff options
author | Brian Smith <brian@dbsoft.org> | 2020-12-01 15:46:38 -0600 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-12-02 07:21:03 +0000 |
commit | aed41dc542e6689120d9d1d1196de189ad704d09 (patch) | |
tree | 47efba3fe1b70f36ae70e86f2f8f62d7ec5b8e84 /widget/GfxInfoBase.cpp | |
parent | a7a521e378c0528c1c36456c30069d34e204965f (diff) | |
download | UXP-aed41dc542e6689120d9d1d1196de189ad704d09.tar UXP-aed41dc542e6689120d9d1d1196de189ad704d09.tar.gz UXP-aed41dc542e6689120d9d1d1196de189ad704d09.tar.lz UXP-aed41dc542e6689120d9d1d1196de189ad704d09.tar.xz UXP-aed41dc542e6689120d9d1d1196de189ad704d09.zip |
Issue #1690 - Part 2: Update MacOS Blocklist support from 10.13 to 11.0.
Changes based on Mozilla bug 1678061.
Diffstat (limited to 'widget/GfxInfoBase.cpp')
-rw-r--r-- | widget/GfxInfoBase.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/widget/GfxInfoBase.cpp b/widget/GfxInfoBase.cpp index 4c2d83018..ed4735536 100644 --- a/widget/GfxInfoBase.cpp +++ b/widget/GfxInfoBase.cpp @@ -274,6 +274,14 @@ BlacklistOSToOperatingSystem(const nsAString& os) return OperatingSystem::OSX10_11; else if (os.EqualsLiteral("Darwin 16")) return OperatingSystem::OSX10_12; + else if (os.EqualsLiteral("Darwin 17")) + return OperatingSystem::OSX10_13; + else if (os.EqualsLiteral("Darwin 18")) + return OperatingSystem::OSX10_14; + else if (os.EqualsLiteral("Darwin 19")) + return OperatingSystem::OSX10_15; + else if (os.EqualsLiteral("Darwin 20")) + return OperatingSystem::OSX11_0; // For historical reasons, "All" in blocklist means "All Windows" else if (os.EqualsLiteral("All")) return OperatingSystem::Windows; |