mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
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:
parent
e4030ad075
commit
0ccf8dfa99
3 changed files with 54 additions and 20 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue