[webkit-changes] [WebKit/WebKit] 453e83: Add some network connection integrity testing support
Wenson Hsieh
noreply at github.com
Wed Dec 21 08:09:43 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 453e83b1e53fb91bb95f5ca7f20855b68c2f1be1
https://github.com/WebKit/WebKit/commit/453e83b1e53fb91bb95f5ca7f20855b68c2f1be1
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivateForTesting.h
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm
M Source/WebKit/UIProcess/WebPageProxy.h
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
A Tools/TestWebKitAPI/Tests/WebKit/NetworkConnectionIntegrityTests.mm
Log Message:
-----------
Add some network connection integrity testing support
https://bugs.webkit.org/show_bug.cgi?id=249651
Reviewed by Aditya Keerthi.
Add support for API tests for lookalike character sanitization.
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewPrivateForTesting.h:
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewTesting.mm:
Leave a FIXME here, explaining that this testing hook can be removed once the API calls into the
associated system framework can happen directly in the UI process, without having to go through the
network process.
(+[WKWebView _setLookalikeCharacterStringsForTesting:]):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKit/NetworkConnectionIntegrityTests.mm: Added.
Add a WebKitAdditions extension point, which will contain the new API tests.
Canonical link: https://commits.webkit.org/258192@main
More information about the webkit-changes
mailing list