Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: affcfe923ad0e0fba8d719a66f8712961352d94d
      
https://github.com/WebKit/WebKit/commit/affcfe923ad0e0fba8d719a66f8712961352d94d
  Author: Jessica Lee <[email protected]>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M LayoutTests/platform/mac-wk2/TestExpectations
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp

  Log Message:
  -----------
  [Site Isolation] coop-popup-opener-navigates.https.html is a constant failure
https://bugs.webkit.org/show_bug.cgi?id=324024
rdar://187256884

Reviewed by Per Arne Vollan and Alex Christensen.

In the site-isolated case, WebKit suspends pages with 
Messages::WebPage::SuspendWithFrameItem
instead of Messages::WebPage::SetIsSuspended. The SetIsSuspended handler calls 
WebPage::suspendForProcessSwap()
which breaks the opener link via frame->detachFromAllOpenedFrames() when the 
opener's page is put into the
back/forward cache during a COOP-triggered process swap. We should do the 
equivalent in WebPage::suspendWithFrameItem().

This fixes 
LayoutTests/imported/w3c/web-platform-tests/html/cross-origin-opener-policy/coop-popup-opener-navigates.https.html

* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::suspendWithFrameItem):

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



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

Reply via email to