Closed Bug 1681242 Opened 3 years ago Closed 3 years ago

Remove obsolete CGEvent logging workaround added for Mac OS X 10.10.2

Categories

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

Unspecified
macOS
task

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox-esr78 --- wontfix
firefox83 --- wontfix
firefox84 --- wontfix
firefox85 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

Details

Attachments

(1 file)

This workaround (added for Mac OS X 10.10.2 in bug 1092855) is no longer needed because Firefox 79+ requires macOS 10.12 or greater.

I stumbled upon this obsolete workaround when investigating bug 1680516. I was auditing the callers of nsCocoaFeatures::macOSVersionMajor() and nsCocoaFeatures::macOSVersionMinor() to make sure other callers didn't need to worry about macOS 11.0 Big Sur being reported as version 10.16 or 11.0 depending on the SDK Firefox was built with.

I did find one other caller in XPCOM manifest version checking code. It probably warrants more careful audit by someone who knows XPCOM.

https://searchfox.org/mozilla-central/rev/1843375acbbca68127713e402be222350ac99301/xpcom/components/ManifestParser.cpp#465-468

This workaround is no longer needed because Firefox 79+ requires macOS 10.12 or greater.

Attachment #9191827 - Attachment description: Bug 1681242 - Remove obsolete CGEvent logging workaround added for Mac OS X 10.10.2. r?haik → Bug 1681242 - Remove obsolete CGEvent workaround needed for macOS versions < 10.10.2. r?haik
Pushed by cpeterson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/73f050da7d20
Remove obsolete CGEvent workaround needed for macOS versions < 10.10.2. r=haik,spohl
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: