Closed Bug 1844845 Opened 2 years ago Closed 2 years ago

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

Categories

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

Unspecified
macOS
task

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

Attachments

(1 file)

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

Firefox versions >= 116 only support macOS >= 10.15. All the callers of these runtime version checks for macOS 10.12 - 10.15 have been removed so we can now remove these functions, too.

Pushed by cpeterson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/67a7155a5bae Remove OnSierraExactly(), OnHighSierraOrLater(), OnMojaveOrLater(), and OnCatalinaOrLater(). r=mac-reviewers,bradwerth
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: