Changeset 288310 in webkit
- Timestamp:
- Jan 20, 2022, 11:12:51 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r288276 r288310 1 2022-01-20 Alex Christensen <achristensen@webkit.org> 2 3 [ iOS15 ] TestWebKitAPI.WebKit.ServerTrust and TestWebKitAPI.WebKit.FastServerTrust tests timing out 4 https://bugs.webkit.org/show_bug.cgi?id=231320 5 <rdar://80352256> 6 7 Reviewed by Chris Dumez. 8 9 SecTrustCopyCertificateChain returns a CFArrayRef of SecCertificateRef, not CFData. 10 11 * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm: 12 (verifyCertificateAndPublicKey): 13 (TestWebKitAPI::TEST): 14 1 15 2022-01-20 Angelos Oikonomopoulos <angelos@igalia.com> 2 16 -
trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm
r285547 r288310 453 453 454 454 #if HAVE(SEC_TRUST_COPY_CERTIFICATE_CHAIN) 455 auto certificate = adoptCF( (CFDataRef)CFArrayGetValueAtIndex(adoptCF(SecTrustCopyCertificateChain(trust)).get(), 0));455 auto certificate = adoptCF(SecCertificateCopyData((SecCertificateRef)CFArrayGetValueAtIndex(adoptCF(SecTrustCopyCertificateChain(trust)).get(), 0))); 456 456 #else 457 457 auto certificate = adoptCF(SecCertificateCopyData(SecTrustGetCertificateAtIndex(trust, 0))); … … 601 601 namespace TestWebKitAPI { 602 602 603 // FIXME: Re-enable these tests once webkit.org/b/231320 is resolved.604 #if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 120000) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED < 150000)605 603 TEST(WebKit, ServerTrust) 606 604 { … … 632 630 EXPECT_EQ([delegate authenticationChallengeCount], 1ull); 633 631 } 634 #endif // (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 120000) || (PLATFORM(IOS) && __IPHONE_OS_VERSION_MIN_REQUIRED < 150000)635 632 636 633 TEST(WebKit, ErrorSecureCoding)
Note:
See TracChangeset
for help on using the changeset viewer.