Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 346b1b2b7b56e3871b456e9093016265dfd90ff4
https://github.com/WebKit/WebKit/commit/346b1b2b7b56e3871b456e9093016265dfd90ff4
Author: Brady Eidson <[email protected]>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M Source/WebKit/Shared/SessionState.cpp
M Source/WebKit/Shared/SessionState.h
M Source/WebKit/UIProcess/API/Cocoa/_WKSessionState.h
M Source/WebKit/UIProcess/API/Cocoa/_WKSessionState.mm
M Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm
Log Message:
-----------
Add API test verifying that session state restore works with site isolation
rdar://162727442
https://bugs.webkit.org/show_bug.cgi?id=300843
Reviewed by Sihui Liu.
We can't verify full fidelity *session save* with site isolation on due to
continued work
needed on the UI process back/forward list.
But we can verify session restore works when the restored blob comes from a
non-isolated view,
and verify that the resulting session save matches what was restored from the
non-isolated view.
Test: Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm
* Source/WebKit/Shared/SessionState.cpp:
(WebKit::SessionState::isEqualForTesting const):
(WebKit::BackForwardListState::isEqualForTesting const):
(WebKit::FrameState::isEqualForTesting const):
* Source/WebKit/Shared/SessionState.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKSessionState.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKSessionState.mm:
(-[_WKSessionState isEqualForTesting:]):
* Tools/TestWebKitAPI/Tests/WebKitCocoa/SiteIsolation.mm:
(TestWebKitAPI::siteIsolatedViewAndDelegate):
(TestWebKitAPI::viewAndDelegate):
(TestWebKitAPI::TEST(SiteIsolation, ValidateSessionRestoreWithoutNavigating)):
Canonical link: https://commits.webkit.org/301720@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes