Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c31a1d0a8671eff3023cf2610b3599b59117e286
https://github.com/WebKit/WebKit/commit/c31a1d0a8671eff3023cf2610b3599b59117e286
Author: Brady Eidson <[email protected]>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M Source/WebKit/Modules/Internal/module.modulemap
M Source/WebKit/UIProcess/API/Cocoa/WKContentWorldConfiguration.h
M Source/WebKit/UIProcess/API/Cocoa/WKContentWorldConfiguration.mm
M Source/WebKit/UIProcess/API/Cocoa/WKJSHandle.h
M Source/WebKit/UIProcess/API/Cocoa/WKJSHandle.mm
M Source/WebKit/UIProcess/API/Cocoa/WKUserContentController.h
M Source/WebKit/UIProcess/API/Cocoa/WKUserContentController.mm
A Source/WebKit/UIProcess/API/Cocoa/WKUserContentController.swift
M Source/WebKit/UIProcess/API/Cocoa/WKUserContentControllerInternal.h
M Source/WebKit/UIProcess/API/Cocoa/_WKJSHandle.h
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/JSHandle.mm
M
Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WKWebViewSwiftOverlayTests.swift
Log Message:
-----------
Small updates to new JavaScript APIs
rdar://181659133
https://bugs.webkit.org/show_bug.cgi?id=318839
Reviewed by Richard Robinson.
Feedback-based tweaks to these APIs to make them better for the platforms going
forward.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/JSHandle.mm
* Source/WebKit/Modules/Internal/module.modulemap:
* Source/WebKit/UIProcess/API/Cocoa/WKContentWorldConfiguration.h:
* Source/WebKit/UIProcess/API/Cocoa/WKContentWorldConfiguration.mm:
(-[WKContentWorldConfiguration isJSHandleCreationEnabled]):
(-[WKContentWorldConfiguration isNodeSerializationEnabled]):
(-[_WKContentWorldConfiguration allowNodeSerialization]):
(-[WKContentWorldConfiguration jsHandleCreationEnabled]): Deleted.
(-[WKContentWorldConfiguration nodeSerializationEnabled]): Deleted.
* Source/WebKit/UIProcess/API/Cocoa/WKJSHandle.h:
* Source/WebKit/UIProcess/API/Cocoa/WKJSHandle.mm:
(-[WKJSHandle contentWorld]):
(-[WKJSHandle getWindowProxyFrame:]):
(-[_WKJSHandle world]):
(-[_WKJSHandle windowFrameInfo:]):
(-[WKJSHandle world]): Deleted.
(-[WKJSHandle windowProxyFrameInfo:]): Deleted.
* Source/WebKit/UIProcess/API/Cocoa/WKUserContentController.h:
* Source/WebKit/UIProcess/API/Cocoa/WKUserContentController.mm:
(-[WKUserContentController _addBuffer:dataSpan:name:contentWorld:]):
(-[WKUserContentController addBuffer:name:contentWorld:]):
(-[WKUserContentController _addDataSpan:name:contentWorld:]):
* Source/WebKit/UIProcess/API/Cocoa/WKUserContentController.swift: Added.
(WKUserContentController.addBuffer(_:name:to:)):
(WKUserContentController.removeBuffer(named:from:)):
* Source/WebKit/UIProcess/API/Cocoa/WKUserContentControllerInternal.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKJSHandle.h:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/JSHandle.mm:
(TestWebKitAPI::getWindowFrameInfo):
Canonical link: https://commits.webkit.org/316796@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications