More macOS code cleanup after dropping compatibility for old versions of macOS
Categories
(Core :: Widget: Cocoa, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
Details
Attachments
(5 files)
We have some code around which was only needed to support versions of macOS which we've already dropped. Things like respondsToSelector
checks that always return true, some missed code simplifications, etc.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Before we required the 10.12 SDK for compilation, this cast was needed because
we were declaring the enum value outside of the enum type:
https://searchfox.org/mozilla-central/rev/ca910762568921c0faa34838d6a4efac2471dff1/widget/cocoa/VibrancyManager.mm#15-16
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D108133
Assignee | ||
Comment 3•3 years ago
|
||
GetQuarantinePropKey() used to contain a version check for pre-10.10, which
was removed in bug 1673051.
Depends on D108134
Assignee | ||
Comment 4•3 years ago
|
||
This has been unnecessary ever since we dropped support for 10.6 in Firefox 49.
Depends on D108135
Assignee | ||
Comment 5•3 years ago
|
||
This code has been unnecessary since we dropped suppor tfor 10.6 in Firefox 49.
Depends on D108136
Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/e65b634cf4e4 Remove unnecessary cast. r=mac-reviewers,tnikkel https://hg.mozilla.org/integration/autoland/rev/c34f487bd399 Remove respondsToSelector checks that always return true on 10.12+. r=mac-reviewers,tnikkel https://hg.mozilla.org/integration/autoland/rev/9119b506a47f Remove GetQuarantinePropKey(). r=mac-reviewers,tnikkel https://hg.mozilla.org/integration/autoland/rev/0a824f732082 Remove nsCocoaUtils::EventPhase and EventMomentumPhase. r=mac-reviewers,tnikkel https://hg.mozilla.org/integration/autoland/rev/26cb0a7bac9b Remove nsCocoaUtils::GetScrollingDeltas and HasPreciseScrollingDeltas. r=mac-reviewers,tnikkel
Comment 7•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e65b634cf4e4
https://hg.mozilla.org/mozilla-central/rev/c34f487bd399
https://hg.mozilla.org/mozilla-central/rev/9119b506a47f
https://hg.mozilla.org/mozilla-central/rev/0a824f732082
https://hg.mozilla.org/mozilla-central/rev/26cb0a7bac9b
Description
•