Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 88998f5c20c9a9ed2363bfa4367581529086f140
https://github.com/WebKit/WebKit/commit/88998f5c20c9a9ed2363bfa4367581529086f140
Author: Alex Christensen <[email protected]>
Date: 2026-06-12 (Fri, 12 Jun 2026)
Changed paths:
M Source/WebKit/UIProcess/API/APIJSHandle.cpp
M Source/WebKit/UIProcess/API/APIJSHandle.h
M Source/WebKit/UIProcess/API/Cocoa/WKJSHandle.mm
M Source/WebKit/UIProcess/API/Cocoa/_WKJSHandle.h
M
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm
M
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h
M Tools/TestWebKitAPI/PlatformMac.cmake
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
R Tools/TestWebKitAPI/Tests/WebKit/WKWebView/JSHandlePlugIn.mm
R Tools/TestWebKitAPI/Tests/WebKit/WKWebView/JSHandlePlugInProtocol.h
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextExtractionTests.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WritingTools.mm
Log Message:
-----------
Remove WKJSHandle serialization code
https://bugs.webkit.org/show_bug.cgi?id=316953
rdar://179416806
Reviewed by Ryosuke Niwa.
_WKJSHandle was the SPI prototype, and it had serialization code to
work with _WKRemoteObjectRegistry to help Safari transition away from
the injected bundle SPI. That transition code is no longer needed,
so remove it. We keep the SPI as just a stub to keep old Safari running
with new WebKit.
Tests: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/JSHandlePlugIn.mm
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextExtractionTests.mm
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebViewSnapshot.mm
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WritingTools.mm
* Source/WebKit/UIProcess/API/APIJSHandle.cpp:
(API::JSHandle::~JSHandle):
* Source/WebKit/UIProcess/API/APIJSHandle.h:
* Source/WebKit/UIProcess/API/Cocoa/WKJSHandle.mm:
(-[WKJSHandle initWithCoder:]): Deleted.
(-[WKJSHandle encodeWithCoder:]): Deleted.
(+[_WKJSHandle supportsSecureCoding]):
(-[_WKJSHandle initWithCoder:]):
(-[_WKJSHandle encodeWithCoder:]): Deleted.
* Source/WebKit/UIProcess/API/Cocoa/_WKJSHandle.h:
* Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFrame.mm:
(+[WKWebProcessPlugInFrame jsHandleFromValue:withContext:]):
*
Source/WebKit/WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInFramePrivate.h:
* Tools/TestWebKitAPI/PlatformMac.cmake:
* Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/JSHandlePlugIn.mm:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/JSHandlePlugInProtocol.h: Removed.
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/TextExtractionTests.mm:
(-[JSHandleReceiver receiveDictionaryFromWebProcess:]): Deleted.
(TestWebKitAPI::InjectedBundle)):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WritingTools.mm:
Canonical link: https://commits.webkit.org/315152@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications