Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ebbe0ba5749e71f8d90863f1d2e4131c95ee5a35
      
https://github.com/WebKit/WebKit/commit/ebbe0ba5749e71f8d90863f1d2e4131c95ee5a35
  Author: Sihui Liu <[email protected]>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm

  Log Message:
  -----------
  [Site Isolation] Add test coverage for nested cross-origin iframe 
back/forward state
https://bugs.webkit.org/show_bug.cgi?id=324899
rdar://173689736

Reviewed by Per Arne Vollan.

Existing back/forward tests for cross-origin iframes only cover one level of 
restoration (a depth1 iframe directly under
the main frame). Add depth2 variants of the same flows to make sure nested 
frames restore correctly too.

* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation, 
NestedCrossSiteIframeBackForwardEntryThenMainFrameBackTraverses)):
(TestWebKitAPI::testNestedIframeBackForwardAfterSessionRestore):
(TestWebKitAPI::TEST(SiteIsolation, 
NestedIframeCrossOriginBackForwardAfterSessionRestore)):
(TestWebKitAPI::TEST(SiteIsolation, 
NestedIframeCrossOriginBackForwardAfterSessionRestoreToNewWebView)):
(TestWebKitAPI::TEST(SiteIsolation, 
GoBackToNestedCrossSiteIframeAfterPersistedSessionRestore)):

Canonical link: https://commits.webkit.org/321883@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to