Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c9d8bf6fee91c5fba48ded997ccd7be5a2d93dc7
https://github.com/WebKit/WebKit/commit/c9d8bf6fee91c5fba48ded997ccd7be5a2d93dc7
Author: Jeffrey Xu <[email protected]>
Date: 2026-08-24 (Mon, 24 Aug 2026)
Changed paths:
M Source/WTF/wtf/PlatformHave.h
M TestExpectations/apitests
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/HTTP2Server.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/HTTP3Server.mm
Log Message:
-----------
Fix HTTP/2 and HTTP/3 API tests timing out on iOS.
https://bugs.webkit.org/show_bug.cgi?id=322125
https://bugs.webkit.org/show_bug.cgi?id=322126
rdar://185354635
rdar://185354719
Reviewed by Alex Christensen.
The new HTTP/2 and HTTP/3 API tests were timing out on iOS.
I initially adjusted the HAVE_NETWORK_FRAMEWORK_HTTP_MESSAGING condition, but
that wasn't enough.
Adjusting the tests to replace _test_waitForAlert with directly awaiting
responses in JS fixed the timeouts, as _test_waitForAlert seems to be
unreliable on iOS.
Re-enabled all the disabled tests.
* Source/WTF/wtf/PlatformHave.h:
* TestExpectations/apitests:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/HTTP2Server.mm:
(TestWebKitAPI::TEST(HTTP2Server, POSTBody)):
(TestWebKitAPI::TEST(HTTP2Server, NonDefaultStatusCodeAndResponseHeader)):
(TestWebKitAPI::TEST(HTTP2Server, MultipleRequestsOverOneConnection)):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/HTTP3Server.mm:
(TestWebKitAPI::TEST(HTTP3Server, POSTBody)):
(TestWebKitAPI::TEST(HTTP3Server, NonDefaultStatusCodeAndResponseHeader)):
(TestWebKitAPI::TEST(HTTP3Server, MultipleRequestsOverOneConnection)):
Canonical link: https://commits.webkit.org/319712@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications