Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cf1a681f762282b46f6cf018c94a21f1eee3afc2
https://github.com/WebKit/WebKit/commit/cf1a681f762282b46f6cf018c94a21f1eee3afc2
Author: Richard Robinson <[email protected]>
Date: 2026-05-13 (Wed, 13 May 2026)
Changed paths:
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
R
Tools/TestWebKitAPI/Tests/WebKit/WKPage/cocoa/AttributedSubstringForProposedRange.mm
A
Tools/TestWebKitAPI/Tests/WebKit/WKPage/cocoa/AttributedSubstringForProposedRangeCAPI.mm
M
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/AdditionalSupportedImageTypes.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ContentFiltering.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/LoadInvalidURLRequest.mm
R
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/AdditionalSupportedImageTypes.mm
R Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/ContentFiltering.mm
R Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/LoadInvalidURLRequest.mm
Log Message:
-----------
A few TestWebKitAPI tests weren't actually being compiled
https://bugs.webkit.org/show_bug.cgi?id=314753
rdar://177007636
Reviewed by Abrar Rahman Protyasha and Aditya Keerthi.
Some tests were missing from Xcode and/or unified build files. Some others had
duplicate names
which also just made things confusing, so fixed a few of those too.
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
*
Tools/TestWebKitAPI/Tests/WebKit/WKPage/cocoa/AttributedSubstringForProposedRangeCAPI.mm:
Renamed from
Tools/TestWebKitAPI/Tests/WebKit/WKPage/cocoa/AttributedSubstringForProposedRange.mm.
(TestWebKitAPI::didFinishNavigation):
(TestWebKitAPI::processDidCrash):
(TestWebKitAPI::invalidMessageFunction):
(TestWebKitAPI::TEST(WebKit, AttributedSubstringForProposedRangeWithImage)):
(TestWebKitAPI::TEST(WebKit,
AttributedSubstringForProposedRangeWithAnchorWithInvalidHref)):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/AdditionalSupportedImageTypes.mm:
(-[AdditionalSupportedImageTypesTest webView:didFinishLoadForFrame:]):
(runLegacyTest):
(TEST(WebKitLegacy, AddUnsupportedImageTypes)):
(TEST(WebKitLegacy, AddBogusImageTypes)):
(TEST(WebKitLegacy, AddEmptyArrayOfImageTypes)):
(TEST(WebKitLegacy, AddArrayOfNullImageTypes)):
(TEST(WebKitLegacy, AddArraysOfUnsupportedImageTypes)):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/ContentFiltering.mm:
(-[LoadAlternateFrameLoadDelegate
webView:didFailProvisionalLoadWithError:forFrame:]):
(-[LoadAlternateFrameLoadDelegate webView:didFinishLoadForFrame:]):
(loadAlternateTestMac):
(TEST(ContentFiltering, LoadAlternateAfterWillSendRequestWK1)):
(TEST(ContentFiltering, LoadAlternateAfterRedirectWK1)):
(TEST(ContentFiltering, LoadAlternateAfterResponseWK1)):
(TEST(ContentFiltering, LoadAlternateAfterAddDataWK1)):
(TEST(ContentFiltering, LoadAlternateAfterFinishedAddingDataWK1)):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/LoadInvalidURLRequest.mm:
(-[LoadInvalidURLWebFrameLoadDelegate webView:didCommitLoadForFrame:]):
(-[LoadInvalidURLWebFrameLoadDelegate
webView:didFailProvisionalLoadWithError:forFrame:]):
(TestWebKitAPI::TEST(WebKitLegacy, LoadInvalidURLRequest)):
*
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/AdditionalSupportedImageTypes.mm:
Removed.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/ContentFiltering.mm: Removed.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/mac/LoadInvalidURLRequest.mm:
Removed.
Canonical link: https://commits.webkit.org/313225@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications