Open Bug 1844845 Opened 1 year ago Updated 1 year ago

Remove OnSierraExactly(), OnHighSierraOrLater(), OnMojaveOrLater(), and OnCatalinaOrLater()

Categories

(Core :: Widget: Cocoa, task, P3)

Unspecified
macOS
task

Tracking

()

People

(Reporter: cpeterson, Assigned: cpeterson)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Now that we've removed support for macOS 10.12, 10.13, 10.14 (bug 1836375), we can remove runtime checks for because they will always be false or true:

  • OnSierraExactly() (macOS 10.12)
  • OnHighSierraOrLater() (macOS 10.13)
  • OnMojaveOrLater() (macOS 10.14)
  • OnCatalinaOrLater() (macOS 10.15)

https://searchfox.org/mozilla-central/rev/241cba7e1f351ddd8a70a8ca05eeb78bca038b75/widget/cocoa/nsCocoaFeatures.h#21-24

Depends on: 1846113
Depends on: 1847154
Depends on: 1850883
You need to log in before you can comment on or make changes to this bug.