Title: [250171] trunk/Source
- Revision
- 250171
- Author
- [email protected]
- Date
- 2019-09-20 17:17:27 -0700 (Fri, 20 Sep 2019)
Log Message
Remove some support for < iOS 13
https://bugs.webkit.org/show_bug.cgi?id=202027
<rdar://problem/55547109>
Reviewed by Alex Christensen.
Remove some support for iOS versions less than 13.0.
Update conditionals that reference __IPHONE_OS_VERSION_MIN_REQUIRED
and __IPHONE_OS_VERSION_MAX_ALLOWED, assuming that they both have
values >= 130000. This means that expressions like
"__IPHONE_OS_VERSION_MIN_REQUIRED < 101300" are always False and
"__IPHONE_OS_VERSION_MIN_REQUIRED >= 101300" are always True.
After version checks have been removed, there are some cases where the
preprocessor conditional looks like "#if PLATFORM(MAC) ||
PLATFORM(IOS_FAMILY)". These can be collapsed into "#if
PLATFORM(COCOA)". This additional cleanup will be performed in a
subsequent patch.
This removal is part of a series of patches effecting the removal of
dead code for old versions of iOS. This particular pass involves
changes in which Joe Pecoraro was involved. These changes are isolated
from other similar changes in order to facilitate the reviewing
process.
Source/WebCore/PAL:
* pal/spi/cf/CFNetworkSPI.h:
Source/WebKit:
* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(-[WKNetworkSessionDelegate URLSession:task:didFinishCollectingMetrics:]):
Modified Paths
Diff
Modified: trunk/Source/WebCore/PAL/ChangeLog (250170 => 250171)
--- trunk/Source/WebCore/PAL/ChangeLog 2019-09-21 00:15:02 UTC (rev 250170)
+++ trunk/Source/WebCore/PAL/ChangeLog 2019-09-21 00:17:27 UTC (rev 250171)
@@ -1,5 +1,35 @@
2019-09-20 Keith Rollin <[email protected]>
+ Remove some support for < iOS 13
+ https://bugs.webkit.org/show_bug.cgi?id=202027
+ <rdar://problem/55547109>
+
+ Reviewed by Alex Christensen.
+
+ Remove some support for iOS versions less than 13.0.
+
+ Update conditionals that reference __IPHONE_OS_VERSION_MIN_REQUIRED
+ and __IPHONE_OS_VERSION_MAX_ALLOWED, assuming that they both have
+ values >= 130000. This means that expressions like
+ "__IPHONE_OS_VERSION_MIN_REQUIRED < 101300" are always False and
+ "__IPHONE_OS_VERSION_MIN_REQUIRED >= 101300" are always True.
+
+ After version checks have been removed, there are some cases where the
+ preprocessor conditional looks like "#if PLATFORM(MAC) ||
+ PLATFORM(IOS_FAMILY)". These can be collapsed into "#if
+ PLATFORM(COCOA)". This additional cleanup will be performed in a
+ subsequent patch.
+
+ This removal is part of a series of patches effecting the removal of
+ dead code for old versions of iOS. This particular pass involves
+ changes in which Joe Pecoraro was involved. These changes are isolated
+ from other similar changes in order to facilitate the reviewing
+ process.
+
+ * pal/spi/cf/CFNetworkSPI.h:
+
+2019-09-20 Keith Rollin <[email protected]>
+
Remove check of setSourceAppPid selector that's no longer needed
https://bugs.webkit.org/show_bug.cgi?id=201971
<rdar://problem/55505761>
Modified: trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h (250170 => 250171)
--- trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h 2019-09-21 00:15:02 UTC (rev 250170)
+++ trunk/Source/WebCore/PAL/pal/spi/cf/CFNetworkSPI.h 2019-09-21 00:17:27 UTC (rev 250171)
@@ -218,7 +218,7 @@
#endif
@end
-#if PLATFORM(MAC) || (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)
+#if PLATFORM(MAC) || PLATFORM(IOS_FAMILY)
@interface NSURLSessionTaskTransactionMetrics ()
@property (copy, readonly) NSString* _remoteAddressAndPort;
@property (copy, readonly) NSUUID* _connectionIdentifier;
Modified: trunk/Source/WebKit/ChangeLog (250170 => 250171)
--- trunk/Source/WebKit/ChangeLog 2019-09-21 00:15:02 UTC (rev 250170)
+++ trunk/Source/WebKit/ChangeLog 2019-09-21 00:17:27 UTC (rev 250171)
@@ -1,3 +1,34 @@
+2019-09-20 Keith Rollin <[email protected]>
+
+ Remove some support for < iOS 13
+ https://bugs.webkit.org/show_bug.cgi?id=202027
+ <rdar://problem/55547109>
+
+ Reviewed by Alex Christensen.
+
+ Remove some support for iOS versions less than 13.0.
+
+ Update conditionals that reference __IPHONE_OS_VERSION_MIN_REQUIRED
+ and __IPHONE_OS_VERSION_MAX_ALLOWED, assuming that they both have
+ values >= 130000. This means that expressions like
+ "__IPHONE_OS_VERSION_MIN_REQUIRED < 101300" are always False and
+ "__IPHONE_OS_VERSION_MIN_REQUIRED >= 101300" are always True.
+
+ After version checks have been removed, there are some cases where the
+ preprocessor conditional looks like "#if PLATFORM(MAC) ||
+ PLATFORM(IOS_FAMILY)". These can be collapsed into "#if
+ PLATFORM(COCOA)". This additional cleanup will be performed in a
+ subsequent patch.
+
+ This removal is part of a series of patches effecting the removal of
+ dead code for old versions of iOS. This particular pass involves
+ changes in which Joe Pecoraro was involved. These changes are isolated
+ from other similar changes in order to facilitate the reviewing
+ process.
+
+ * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+ (-[WKNetworkSessionDelegate URLSession:task:didFinishCollectingMetrics:]):
+
2019-09-20 Alex Christensen <[email protected]>
Remove unnecessary abstractions around WebsiteDataStore
Modified: trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm (250170 => 250171)
--- trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm 2019-09-21 00:15:02 UTC (rev 250170)
+++ trunk/Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm 2019-09-21 00:17:27 UTC (rev 250171)
@@ -677,7 +677,7 @@
if (networkDataTask->shouldCaptureExtraNetworkLoadMetrics()) {
networkLoadMetrics.priority = toNetworkLoadPriority(task.priority);
-#if PLATFORM(MAC) || (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)
+#if PLATFORM(MAC) || PLATFORM(IOS_FAMILY)
networkLoadMetrics.remoteAddress = String(m._remoteAddressAndPort);
networkLoadMetrics.connectionIdentifier = String([m._connectionIdentifier UUIDString]);
#endif
@@ -693,7 +693,7 @@
}];
networkLoadMetrics.requestHeaders = WTFMove(requestHeaders);
-#if PLATFORM(MAC) || (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000)
+#if PLATFORM(MAC) || PLATFORM(IOS_FAMILY)
uint64_t requestHeaderBytesSent = 0;
uint64_t responseHeaderBytesReceived = 0;
uint64_t responseBodyBytesReceived = 0;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes