Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 715bc669054b4f2ae54ce99ee2462bfaeb3696ca
https://github.com/WebKit/WebKit/commit/715bc669054b4f2ae54ce99ee2462bfaeb3696ca
Author: Chris Dumez <[email protected]>
Date: 2026-05-25 (Mon, 25 May 2026)
Changed paths:
M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
M Source/WebKit/UIProcess/WebBackForwardList.cpp
M Source/WebKit/UIProcess/WebBackForwardList.h
Log Message:
-----------
Cherry-pick 305413.459@safari-7624-branch (6b53aa44e133). rdar://176061288
MESSAGE_CHECK URLs passed in to WebBackForwardListItem
backForwardUpdateItem and backForwardSetChildItem
rdar://171104801
Reviewed by Ryosuke Niwa and Per Arne Vollan.
We do a MESSAGE_CHECK for unexpected file URLs in backForwardAddItemShared.
These two methods should get the same treatment.
No new tests (The "success" path of the test would be a crash, which we
can't add.)
* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp:
(WebKit::ProvisionalPageProxy::didReceiveMessage):
* Source/WebKit/UIProcess/WebBackForwardList.cpp:
(WebKit::messageCheckItemURLs):
(WebKit::WebBackForwardList::backForwardAddItemShared):
(WebKit::WebBackForwardList::backForwardSetChildItem):
(WebKit::WebBackForwardList::backForwardUpdateItem):
(WebKit::WebBackForwardList::didReceiveProvisionalMessage):
* Source/WebKit/UIProcess/WebBackForwardList.h:
Identifier: 305413.459@safari-7624-branch
Canonical link: https://commits.webkit.org/313832@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications