Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e0ede3d58dfbe85c6c60ba8db3fe211d770f0527
https://github.com/WebKit/WebKit/commit/e0ede3d58dfbe85c6c60ba8db3fe211d770f0527
Author: Richard Robinson <[email protected]>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
M Tools/Scripts/webkitpy/api_tests/allowlist.txt
M Tools/TestWebKitAPI/Helpers/cocoa/WKWebView+Extras.swift
M Tools/TestWebKitAPI/Helpers/cocoa/WKWebViewConfigurationExtras.h
M Tools/TestWebKitAPI/PlatformCocoa.cmake
M Tools/TestWebKitAPI/SourcesCocoa.txt
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextFragments.swift
R Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextPlaceholderTests.mm
A Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextPlaceholderTests.swift
R Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextSize.mm
A Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextSize.swift
R Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextWidth.mm
A Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextWidth.swift
R Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TimeZoneOverride.mm
A Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TimeZoneOverride.swift
Log Message:
-----------
[Swift Testing] Convert TextPlaceholderTests, TextSize, TextWidth, and
TimeZoneOverride tests to Swift Testing
https://bugs.webkit.org/show_bug.cgi?id=324134
rdar://187350756
Reviewed by Abrar Rahman Protyasha.
Convert these to Swift Testing.
* Tools/Scripts/webkitpy/api_tests/allowlist.txt:
* Tools/TestWebKitAPI/Helpers/cocoa/WKWebView+Extras.swift:
(WKWebView.load(_:baseURL:)):
* Tools/TestWebKitAPI/Helpers/cocoa/WKWebViewConfigurationExtras.h:
* Tools/TestWebKitAPI/PlatformCocoa.cmake:
* Tools/TestWebKitAPI/SourcesCocoa.txt:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextFragments.swift:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextPlaceholderTests.mm: Removed.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextPlaceholderTests.swift: Added.
(NSTextPlaceholderTests.bodyInnerHTML):
(NSTextPlaceholderTests.isCaretVisible):
(NSTextPlaceholderTests.insertPlaceholder):
(removePlaceholder(_:willInsertText:)):
(insertAndRemoveTextPlaceholder(_:)):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextSize.mm: Removed.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextSize.swift: Added.
(TextSizeTests.spanWidth):
(TextSizeTests.textSize):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextWidth.mm: Removed.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextWidth.swift: Added.
(TextWidthTests.textWidth):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TimeZoneOverride.mm: Removed.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TimeZoneOverride.swift: Added.
(TimeZoneOverrideTests.timeZoneOverride):
(TimeZoneOverrideTests.timeZoneOverrideInWorkers):
Canonical link: https://commits.webkit.org/321090@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications