Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a1cec771ae1224ec14f7ce9668ac3cf70dd178a0
https://github.com/WebKit/WebKit/commit/a1cec771ae1224ec14f7ce9668ac3cf70dd178a0
Author: Richard Robinson <[email protected]>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M Tools/TestWebKitAPI/Helpers/cocoa/ImageAnalysisTestingUtilities.h
M Tools/TestWebKitAPI/Helpers/cocoa/ImageAnalysisTestingUtilities.mm
A Tools/TestWebKitAPI/Helpers/cocoa/ImageAnalysisTestingUtilities.swift
A Tools/TestWebKitAPI/Resources/cocoa/love-and-coffee-analysis.json
A Tools/TestWebKitAPI/Resources/cocoa/love-and-coffee.jpeg
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture
Tests/BasicAppKitGesturesTests.swift
Log Message:
-----------
[AppKit Gestures] Add Vision Live Text image analysis testing infrastructure
support
https://bugs.webkit.org/show_bug.cgi?id=319609
rdar://182436885
Reviewed by Megan Gardner and Abrar Rahman Protyasha.
Add some testing infrastructure to make mocking image analysis functionality in
Swift tests
super easy.
Also adds a (currently disabled) test that uses this new functionality.
* Tools/TestWebKitAPI/Helpers/cocoa/ImageAnalysisTestingUtilities.h:
* Tools/TestWebKitAPI/Helpers/cocoa/ImageAnalysisTestingUtilities.mm:
(TestWebKitAPI::getImageAnalyzerClass):
* Tools/TestWebKitAPI/Helpers/cocoa/ImageAnalysisTestingUtilities.swift: Added.
(TestVKImageAnalysis.hasResults(forAnalysisTypes:)):
* Tools/TestWebKitAPI/Resources/cocoa/love-and-coffee-analysis.json: Added.
* Tools/TestWebKitAPI/Resources/cocoa/love-and-coffee.jpeg: Added.
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture
Tests/BasicAppKitGesturesTests.swift:
(AppKitGesturesTests.scrollInputSourceUpdatesRubberbandHyperbolicCoefficient):
(AppKitGesturesTests.scrollInputSourceUpdatesrubberbandHyperbolicCoefficient):
Deleted.
Canonical link: https://commits.webkit.org/317403@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications