Issue #1690 - Part 2: Update MacOS Blocklist support from 10.13 to 11.0.

Changes based on Mozilla bug 1678061.
This commit is contained in:
Brian Smith 2020-12-01 15:46:38 -06:00 committed by roytam1
commit 0ccf8dfa99
3 changed files with 54 additions and 20 deletions

View file

@ -280,6 +280,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;