Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 163e3c05a9d1e48af5bc99c4121d31689c3855bc
https://github.com/WebKit/WebKit/commit/163e3c05a9d1e48af5bc99c4121d31689c3855bc
Author: Richard Robinson <[email protected]>
Date: 2026-04-26 (Sun, 26 Apr 2026)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKProcessPool.mm
M Source/WebKit/UIProcess/API/Cocoa/WKProcessPoolPrivate.h
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration+Extras.swift
M Source/WebKit/UIProcess/API/Swift/WebPage+Configuration.swift
M Tools/TestWebKitAPI/Helpers/cocoa/HostWindowManager.h
A Tools/TestWebKitAPI/Helpers/cocoa/WebPageConfiguration+Extras.swift
M Tools/TestWebKitAPI/InjectedBundle/InjectedBundleController.h
M Tools/TestWebKitAPI/InjectedBundle/InjectedBundleTest.h
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
M Tools/TestWebKitAPI/TestWebKitAPILibrary/module.modulemap
A Tools/TestWebKitAPI/Tests/WebKit/WebPage/edede.swift
Log Message:
-----------
[Swift Testing] Make it easy to allow a WebPage to access web process plugins
in testing
https://bugs.webkit.org/show_bug.cgi?id=313325
rdar://175602556
Reviewed by Dan Glastonbury.
Make it possible to create a `WebPage.Configuration` using a web process plugin,
just like WKWebViewConfiguration, but a bit better!
- Leverages type-safety by using a generic type parameter instead of a String
- Makes the default value of `configureJSCForTesting` `true` since this is way
more common than `false`
Tests: Tools/TestWebKitAPI/Helpers/cocoa/WebPageConfiguration+Extras.swift
Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
Tools/TestWebKitAPI/TestWebKitAPILibrary/module.modulemap
* Source/WebKit/UIProcess/API/Cocoa/WKProcessPool.mm:
(+[WKProcessPool _processPoolWithConfiguration:]):
* Source/WebKit/UIProcess/API/Cocoa/WKProcessPoolPrivate.h:
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewConfiguration+Extras.swift:
* Source/WebKit/UIProcess/API/Swift/WebPage+Configuration.swift:
(Configuration.processPool):
* Tools/TestWebKitAPI/Helpers/cocoa/WebPageConfiguration+Extras.swift: Added.
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/TestWebKitAPILibrary/module.modulemap:
Canonical link: https://commits.webkit.org/312065@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications