Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 582275f4881b96ffa04a0d26d88149d6d043ac4c
https://github.com/WebKit/WebKit/commit/582275f4881b96ffa04a0d26d88149d6d043ac4c
Author: Richard Robinson <[email protected]>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M Tools/TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig
M Tools/TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig
R Tools/TestWebKitAPI/Helpers/Testing.swift
R Tools/TestWebKitAPI/Helpers/cocoa/AppKitGesturesSupport.h
R Tools/TestWebKitAPI/Helpers/cocoa/AppKitGesturesSupport.swift
M Tools/TestWebKitAPI/Helpers/cocoa/Bundle+Extras.swift
M Tools/TestWebKitAPI/Helpers/cocoa/Foundation+Extras.swift
M Tools/TestWebKitAPI/Helpers/cocoa/SmartListsSupport.swift
M Tools/TestWebKitAPI/Helpers/cocoa/SwiftUI+Extras.swift
M Tools/TestWebKitAPI/Helpers/cocoa/TestCocoa.h
M Tools/TestWebKitAPI/Helpers/cocoa/TestPDFDocument.swift
M Tools/TestWebKitAPI/Helpers/cocoa/WebPage+Extras.swift
M Tools/TestWebKitAPI/Runner/GoogleTestsController.swift
M Tools/TestWebKitAPI/Runner/SwiftTestingABI.swift
M Tools/TestWebKitAPI/Runner/TestRunner.swift
M Tools/TestWebKitAPI/Runner/TestWebKitAPI.swift
M Tools/TestWebKitAPI/TestBundle/TestWebKitAPIBundle-Bridging-Header.h
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
R
Tools/TestWebKitAPI/TestWebKitAPILibrary/TestWebKitAPILibrary-Bridging-Header.h
A Tools/TestWebKitAPI/TestWebKitAPILibrary/TestWebKitAPILibrary.swift
A Tools/TestWebKitAPI/TestWebKitAPILibrary/module.modulemap
R Tools/TestWebKitAPI/Tests/WebKit/WKWebView/AppKitGestures.mm
M
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebViewSwiftOverlayTests.swift
A Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKitGesturesTests.swift
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/URLSchemeHandlerTests.swift
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebPageNavigationTests.swift
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebPageTests.swift
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebPageTransferableTests.swift
Log Message:
-----------
[Swift in WebKit] Integrate Swift Testing into run-api-tests (part 3)
https://bugs.webkit.org/show_bug.cgi?id=312328
rdar://174786252
Reviewed by Aditya Keerthi.
- Update TestWebKitAPI's xcconfig to match the other test xcconfigs and support
Cxx interop
- Use a proper module for TestWebKitAPI instead of a hacky and broken bridging
header.
- Convert `AppKitGesturesSupport` to a proper Swift Test
- Remove now-useless "TestingShim" type
* Tools/TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig:
* Tools/TestWebKitAPI/Configurations/TestWebKitAPILibrary.xcconfig:
* Tools/TestWebKitAPI/Helpers/Testing.swift: Removed.
* Tools/TestWebKitAPI/Helpers/cocoa/AppKitGesturesSupport.h: Removed.
* Tools/TestWebKitAPI/Helpers/cocoa/Bundle+Extras.swift:
(Bundle.testResources):
* Tools/TestWebKitAPI/Helpers/cocoa/Foundation+Extras.swift:
(AsyncSequence.wait(_:)):
* Tools/TestWebKitAPI/Helpers/cocoa/SmartListsSupport.swift:
* Tools/TestWebKitAPI/Helpers/cocoa/SwiftUI+Extras.swift:
* Tools/TestWebKitAPI/Helpers/cocoa/TestCocoa.h:
* Tools/TestWebKitAPI/Helpers/cocoa/TestPDFDocument.swift:
* Tools/TestWebKitAPI/Helpers/cocoa/WebPage+Extras.swift:
(waitForNextPresentationUpdate):
(setWebFeature(_:enabled:)):
(renderTree):
(insertText(_:)):
(executeEditCommand(_:with:)):
(click(at:)):
* Tools/TestWebKitAPI/Runner/GoogleTestsController.swift:
* Tools/TestWebKitAPI/Runner/SwiftTestingABI.swift:
* Tools/TestWebKitAPI/Runner/TestRunner.swift:
* Tools/TestWebKitAPI/Runner/TestWebKitAPI.swift:
* Tools/TestWebKitAPI/TestBundle/TestWebKitAPIBundle-Bridging-Header.h:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
*
Tools/TestWebKitAPI/TestWebKitAPILibrary/TestWebKitAPILibrary-Bridging-Header.h:
Removed.
* Tools/TestWebKitAPI/TestWebKitAPILibrary/TestWebKitAPILibrary.swift: Copied
from Tools/TestWebKitAPI/Helpers/cocoa/SwiftUI+Extras.swift.
* Tools/TestWebKitAPI/TestWebKitAPILibrary/module.modulemap: Added.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/AppKitGestures.mm: Removed.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebViewSwiftOverlayTests.swift:
(WKWebViewSwiftOverlayTests.evaluateJavaScriptWithNilResponse):
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKitGesturesTests.swift: Renamed
from Tools/TestWebKitAPI/Helpers/cocoa/AppKitGesturesSupport.swift.
(AppKitGesturesTests.clickingChangesSelection):
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/URLSchemeHandlerTests.swift:
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebPageNavigationTests.swift:
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebPageTests.swift:
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/WebPageTransferableTests.swift:
Canonical link: https://commits.webkit.org/311431@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications