Closed Bug 1280827 Opened 8 years ago Closed 8 years ago

Remove some obsolete OS X version checks in gfx/

Categories

(Core :: Graphics, defect)

Unspecified
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: stefanh, Assigned: stefanh)

References

Details

Attachments

(1 file, 2 obsolete files)

We don’t support anything < 10.9 now, so run-time checks for pre-lion/Lion can be removed (that’s all I found).
Attached patch Remove run-time checks (obsolete) — Splinter Review
Attachment #8763403 - Flags: review?(jmuizelaar)
Comment on attachment 8763403 [details] [diff] [review]
Remove run-time checks

Whoops, just before bedtime I noticed that I missed some stuff - there's a !nsCocoaFeatures::OnMavericksOrLater() check in CompositorOGL.cpp...
Attachment #8763403 - Flags: review?(jmuizelaar)
Summary: Remove run-time checks for pre-Lion/Lion in gfx/gl and gfx/thebes → Remove some obsolete OS X version checks in gfx/
Excluding /harfbuzz and /skia, this should be it.
Attachment #8763403 - Attachment is obsolete: true
Attachment #8763652 - Flags: review?(jmuizelaar)
Attached patch Final versionSplinter Review
Sorry - I forgot the includes.
Attachment #8763652 - Attachment is obsolete: true
Attachment #8763652 - Flags: review?(jmuizelaar)
Attachment #8765198 - Flags: review?(jmuizelaar)
Blocks: 1282251
Do you mind waiting on this for another release? I'd rather let our dropping of 10.6 bake a little longer.
(In reply to Jeff Muizelaar [:jrmuizel] from comment #7)
> Do you mind waiting on this for another release? I'd rather let our dropping
> of 10.6 bake a little longer.

Sure but is there any specific reason to wait? I mean, you can't run Firefox on anything below 10.9 in the 49 release and some code specific for 10.6-10.8 have already been removed from the tree in this cycle (mozilla 50).
(In reply to Stefan [:stefanh] from comment #8)
> some code specific for
> 10.6-10.8 have already been removed from the tree in this cycle (mozilla 50).
See for example Bug 1272764 and bug 1279017.
(In reply to Stefan [:stefanh] from comment #8)
> (In reply to Jeff Muizelaar [:jrmuizel] from comment #7)
> > Do you mind waiting on this for another release? I'd rather let our dropping
> > of 10.6 bake a little longer.
> 
> Sure but is there any specific reason to wait? I mean, you can't run Firefox
> on anything below 10.9 in the 49 release and some code specific for
> 10.6-10.8 have already been removed from the tree in this cycle (mozilla 50).

No real reason, just being conservative. I could probably easily be convinced to take this sooner.
OK, I'll try to convince you :-)

1) Today, dom/media was cleaned up from these functions (https://hg.mozilla.org/mozilla-central/rev/a41833214621). ipc/glue and dom/plugins/ipc have also been fixed. There's only one area except gfx/ that uses these version checks now (toolkit/xre). This bug is the actually the last bug that blocks bug 1282251.

2) We're not updating existing Firefox installs on now-unsupported versions of MacOSX (see bug 1284007, comment #4).

3) There's no point in keeping code specific to 10.6-10.8 in gfx/ when it's not possible to use Firefox on these versions of OS X.

4) gfx/ being one of the last consumers of these functions, fits the conservative approach, but now it's time to move forward :-)
Attachment #8765198 - Flags: review?(jmuizelaar) → review+
Pushed by stefanh@inbox.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b5ec1de16b81
Remove some obsolete OS X version checks in gfx/. r=jrmuizel.
https://hg.mozilla.org/mozilla-central/rev/b5ec1de16b81
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: