Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f374cf141b9e55fa004c7afb32953b5bbe24a240
https://github.com/WebKit/WebKit/commit/f374cf141b9e55fa004c7afb32953b5bbe24a240
Author: Richard Robinson <[email protected]>
Date: 2026-09-01 (Tue, 01 Sep 2026)
Changed paths:
M Source/WebKit/Modules/Internal/module.modulemap
M Source/WebKit/Shared/Foundation+Extras.swift
A Source/WebKit/Shared/JavaScriptEvaluationResultCxxInteropSupport.h
M Source/WebKit/Shared/RunJavaScriptParameters.h
A Source/WebKit/Shared/RunJavaScriptResult.swift
M Source/WebKit/UIProcess/WebPageProxy.swift
M Source/WebKit/WebKit.xcodeproj/project.pbxproj
Log Message:
-----------
Re-land [NewCodable] Make it possible to call
WebPageProxy.runJavaScriptInMainFrame from Swift
https://bugs.webkit.org/show_bug.cgi?id=323178
rdar://186421605
Unreviewed re-land of 320260@main.
* Source/WebKit/Modules/Internal/module.modulemap:
* Source/WebKit/Shared/Foundation+Extras.swift:
(CopyableBox.value):
(CopyableBox.take):
* Source/WebKit/Shared/JavaScriptEvaluationResultCxxInteropSupport.h: Added.
(WebKit::CxxInteropSupport::takeValue):
* Source/WebKit/Shared/RunJavaScriptParameters.h:
* Source/WebKit/Shared/RunJavaScriptResult.swift: Copied from
Source/WebKit/UIProcess/WebPageProxy.swift.
(WebKit.__take(_:)):
* Source/WebKit/UIProcess/WebPageProxy.swift:
(WebKit.editorStateCopy): Deleted.
(WebKit.editorState): Deleted.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:
Canonical link: https://commits.webkit.org/320301@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications