[webkit-changes] [WebKit/WebKit] 33240d: Cherry-pick 252432.898 at safari-7614-branch (5774824...
Alex Christensen
noreply at github.com
Wed Jan 25 09:42:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 33240daf5e984a5c6a00bf1aee8ee4ac2f27477e
https://github.com/WebKit/WebKit/commit/33240daf5e984a5c6a00bf1aee8ee4ac2f27477e
Author: Alex Christensen <achristensen at apple.com>
Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths:
M Source/WebKit/WebProcess/WebCoreSupport/SessionStateConversion.cpp
M Tools/TestWebKitAPI/Tests/WebKit/WKBackForwardListTests.mm
Log Message:
-----------
Cherry-pick 252432.898 at safari-7614-branch (57748248ae92). rdar://104648262
Truncate title before adding to _WKSessionState
https://bugs.webkit.org/show_bug.cgi?id=248664
rdar://102444516
Reviewed by Chris Dumez, Mark Gee, and Jonathan Bedard.
Truncate the title to 1000 characters like we do everywhere else we send the title from the web content process.
* Source/WebKit/WebProcess/WebCoreSupport/SessionStateConversion.cpp:
(WebKit::toBackForwardListItemState):
* Tools/TestWebKitAPI/Tests/WebKit/WKBackForwardList.mm:
(TEST):
Canonical link: https://commits.webkit.org/252432.898@safari-7614-branch
Canonical link: https://commits.webkit.org/259367@main
More information about the webkit-changes
mailing list