Title: [266102] trunk/Tools
Revision
266102
Author
achristen...@apple.com
Date
2020-08-24 22:04:44 -0700 (Mon, 24 Aug 2020)

Log Message

Fix TLSVersion.DefaultBehavior on Mojave
https://bugs.webkit.org/show_bug.cgi?id=215791

* TestWebKitAPI/Tests/WebKitCocoa/TLSDeprecation.mm:
HTTPServer::Protocol::HttpsWithLegacyTLS uses tls_protocol_version_t, so this test times out on Mojave.
Enable it for newer OSes.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (266101 => 266102)


--- trunk/Tools/ChangeLog	2020-08-25 04:32:13 UTC (rev 266101)
+++ trunk/Tools/ChangeLog	2020-08-25 05:04:44 UTC (rev 266102)
@@ -1,5 +1,14 @@
 2020-08-24  Alex Christensen  <achristen...@webkit.org>
 
+        Fix TLSVersion.DefaultBehavior on Mojave
+        https://bugs.webkit.org/show_bug.cgi?id=215791
+
+        * TestWebKitAPI/Tests/WebKitCocoa/TLSDeprecation.mm:
+        HTTPServer::Protocol::HttpsWithLegacyTLS uses tls_protocol_version_t, so this test times out on Mojave.
+        Enable it for newer OSes.
+
+2020-08-24  Alex Christensen  <achristen...@webkit.org>
+
         Make TLSVersion.DefaultBehavior more robust
         https://bugs.webkit.org/show_bug.cgi?id=215791
 

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/TLSDeprecation.mm (266101 => 266102)


--- trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/TLSDeprecation.mm	2020-08-25 04:32:13 UTC (rev 266101)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/TLSDeprecation.mm	2020-08-25 05:04:44 UTC (rev 266102)
@@ -144,7 +144,7 @@
 const uint16_t tls1_1 = 0x0302;
 static NSString *defaultsKey = @"WebKitEnableLegacyTLS";
 
-#if HAVE(NETWORK_FRAMEWORK)
+#if HAVE(NETWORK_FRAMEWORK) && HAVE(TLS_PROTOCOL_VERSION_T)
 
 TEST(TLSVersion, DefaultBehavior)
 {
@@ -160,7 +160,7 @@
     [delegate waitForDidFinishNavigation];
 }
 
-#endif // HAVE(NETWORK_FRAMEWORK)
+#endif // HAVE(NETWORK_FRAMEWORK) && HAVE(TLS_PROTOCOL_VERSION_T)
 
 #if HAVE(TLS_VERSION_DURING_CHALLENGE)
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to