Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: db556c781e1580963dd6265c8694b8bd39d14730
https://github.com/WebKit/WebKit/commit/db556c781e1580963dd6265c8694b8bd39d14730
Author: Ben Nham <[email protected]>
Date: 2026-02-24 (Tue, 24 Feb 2026)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
Log Message:
-----------
Extend JS source string copy optimizations to more content worlds
https://bugs.webkit.org/show_bug.cgi?id=308615
rdar://171137770
Reviewed by Ryosuke Niwa.
Previously the JS string copy optimization in 304782@main was only enabled in
the autofill
world. Enable this in more worlds that repeatedly evaluate large source strings
(in particular, ones
that allow node serialization).
* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView
_evaluateJavaScript:asAsyncFunction:withSourceURL:withArguments:forceUserGesture:inFrame:inWorld:completionHandler:]):
Canonical link: https://commits.webkit.org/308184@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications