Skip to content
Permalink
Browse files
REGRESSION: [iOS] TestWebKitAPI.HSTS.ThirdParty is consistely failing
https://bugs.webkit.org/show_bug.cgi?id=241342

Reviewed by Kate Cheney.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/HSTS.mm:
(TestWebKitAPI::hstsWebViewAndDelegate):
(TestWebKitAPI::TEST):

Canonical link: https://commits.webkit.org/251443@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
achristensen07 committed Jun 9, 2022
1 parent ce15efd commit 58351c8290a40c50e852e40d2214813cccf72f78
Showing 1 changed file with 1 addition and 5 deletions.
@@ -47,6 +47,7 @@
[storeConfiguration setAllowsHSTSWithUntrustedRootCertificate:YES];
auto viewConfiguration = adoptNS([WKWebViewConfiguration new]);
[viewConfiguration setWebsiteDataStore:adoptNS([[WKWebsiteDataStore alloc] _initWithConfiguration:storeConfiguration.get()]).get()];
[[viewConfiguration websiteDataStore] _setResourceLoadStatisticsEnabled:YES];
auto webView = adoptNS([[WKWebView alloc] initWithFrame:CGRectMake(0, 0, 100, 100) configuration:viewConfiguration.get()]);
auto delegate = adoptNS([TestNavigationDelegate new]);
[webView setNavigationDelegate:delegate.get()];
@@ -91,12 +92,7 @@ static HTTPServer hstsServer()
EXPECT_WK_STREQ(webView.get().URL.absoluteString, "https://example.com/");
}

// FIXME: Re-enable after webkit.org/b/241342 is resolved
#if (PLATFORM(IOS))
TEST(HSTS, DISABLED_ThirdParty)
#else
TEST(HSTS, ThirdParty)
#endif
{
auto httpsServer = hstsServer();

0 comments on commit 58351c8

Please sign in to comment.