WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
200963
Remove support for tvOS < 13.0
https://bugs.webkit.org/show_bug.cgi?id=200963
Summary
Remove support for tvOS < 13.0
Keith Rollin
Reported
2019-08-20 20:38:05 PDT
Update conditionals that reference __TV_OS_VERSION_MIN_REQUIRED and __TV_OS_VERSION_MAX_ALLOWED, assuming that they both have values >= 130000. This means that expressions like "__TV_OS_VERSION_MIN_REQUIRED < 130000" are always False and "__TV_OS_VERSION_MIN_REQUIRED >= 130000" are always True.
Attachments
Patch
(12.62 KB, patch)
2019-08-21 12:35 PDT
,
Keith Rollin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-08-20 20:38:22 PDT
<
rdar://problem/54541355
>
Darin Adler
Comment 2
2019-08-21 09:50:16 PDT
Make sure to check the value of __IPHONE_OS_VERSION_MIN_REQUIRED too, so you can remove even more in some cases (like the ones I mentioned in the watchOS patch).
Keith Rollin
Comment 3
2019-08-21 12:35:38 PDT
Created
attachment 376906
[details]
Patch
Keith Rollin
Comment 4
2019-08-21 12:37:14 PDT
(In reply to Darin Adler from
comment #2
)
> Make sure to check the value of __IPHONE_OS_VERSION_MIN_REQUIRED too, so you > can remove even more in some cases (like the ones I mentioned in the watchOS > patch).
I added a note in the watchOS patch that we think the current handling is correct.
EWS Watchlist
Comment 5
2019-08-21 12:37:23 PDT
Attachment 376906
[details]
did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WebCore/cocoa/AVFoundationSoftLinkTest.mm:141: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] ERROR: Tools/TestWebKitAPI/Tests/WebCore/cocoa/AVFoundationSoftLinkTest.mm:146: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] ERROR: Tools/TestWebKitAPI/Tests/WebCore/cocoa/AVFoundationSoftLinkTest.mm:161: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] ERROR: Source/WebCore/PAL/pal/spi/cocoa/NSKeyedArchiverSPI.h:32: Incorrect OS version check. VERSION_MIN_REQUIRED values never include a minor version. You may be looking for a combination of VERSION_MIN_REQUIRED for target OS version check and VERSION_MAX_ALLOWED for SDK check. [build/version_check] [5] ERROR: Source/WebCore/PAL/pal/spi/cocoa/NSKeyedArchiverSPI.h:32: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] ERROR: Source/WebCore/PAL/pal/spi/cocoa/NSKeyedArchiverSPI.h:34: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] ERROR: Source/WebCore/PAL/pal/spi/cocoa/NSProgressSPI.h:30: Misplaced OS version check. Please use a named macro in wtf/Platform.h, wtf/FeatureDefines.h, or an appropriate internal file. [build/version_check] [5] Total errors found: 7 in 8 files If any of these errors are false positives, please file a bug against check-webkit-style.
Keith Rollin
Comment 6
2019-08-21 12:42:36 PDT
All of those style errors are pre-existing. Some will be cleaned up in subsequent patches that remove support for older OSes on other platforms.
Keith Rollin
Comment 7
2019-08-22 13:28:23 PDT
This is a pretty small, simple patch if someone would like to take a look at it.
WebKit Commit Bot
Comment 8
2019-08-22 15:51:53 PDT
Comment on
attachment 376906
[details]
Patch Clearing flags on attachment: 376906 Committed
r249033
: <
https://trac.webkit.org/changeset/249033
>
WebKit Commit Bot
Comment 9
2019-08-22 15:51:55 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug