[webkit-changes] [WebKit/WebKit] 4be128: Add linked-on-or-after check to skip SerializedScr...
Alex Christensen
noreply at github.com
Fri Feb 28 20:17:01 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4be128b4fabea8a4df63eeb23afa662c061e61d2
https://github.com/WebKit/WebKit/commit/4be128b4fabea8a4df63eeb23afa662c061e61d2
Author: Alex Christensen <achristensen at apple.com>
Date: 2025-02-28 (Fri, 28 Feb 2025)
Changed paths:
M Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h
M Source/WebKit/Shared/JavaScriptEvaluationResult.mm
M Tools/TestWebKitAPI/Tests/WebKit/EvaluateJavaScript.cpp
M Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewEvaluateJavaScript.mm
Log Message:
-----------
Add linked-on-or-after check to skip SerializedScriptValue roundtrip
https://bugs.webkit.org/show_bug.cgi?id=288842
rdar://145864047
Reviewed by Sihui Liu.
In 291332 at main I moved the roundtrip from the IPC layer to the web content process.
It turns out, it's not necessary. I just kept it for compatibility. It filters
out some object types. For new applications, let's remove the filtering and increase
performance by removing an unnecessary serialization/deserialization step.
* Source/WTF/wtf/cocoa/RuntimeApplicationChecksCocoa.h:
* Source/WebKit/Shared/JavaScriptEvaluationResult.mm:
(WebKit::JavaScriptEvaluationResult::extract):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewEvaluateJavaScript.mm:
(ReturnTypes)):
Canonical link: https://commits.webkit.org/291425@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list