Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 73043c6643abfcf346b17abc4cf0ff5a2ee9f3a6
      
https://github.com/WebKit/WebKit/commit/73043c6643abfcf346b17abc4cf0ff5a2ee9f3a6
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-10-14 (Wed, 14 Oct 2026)

  Changed paths:
    M Source/WebKit/UIProcess/BrowsingContextGroup.cpp
    M Source/WebKit/UIProcess/BrowsingContextGroup.h
    M Source/WebKit/UIProcess/WebFrameProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/WebPage.h
    M Source/WebKit/WebProcess/WebPage/WebPage.messages.in
    M TestExpectations/apitests
    M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SOAuthorizationTests.mm

  Log Message:
  -----------
  REGRESSION(323290@main): Documents that SOAuthorization loads into an iframe 
get no agent cluster
https://bugs.webkit.org/show_bug.cgi?id=327271
rdar://189827543

Reviewed by Alex Christensen.

SubFrameSOAuthorizationSession loads its pages into the iframe with
WebFrameProxy::loadData(). The WebContent process loads them as substitute
data for an unreachable URL, which skips the navigation action and response
decisions that assign an agent cluster. Debug builds asserted, so ten
SOAuthorizationSubFrame tests timed out. In release builds the document had
no agent cluster identifier, so Document::agentClusterID() fell back to the
site and a same-site parent could not post it a WebAssembly.Module.

The UI process now makes the assignment for these loads, as it does for
_loadAlternateHTMLString, and WebPage::createDocumentLoader() applies a
pending assignment to subframes without site isolation too. This also
removes the expectations added in 323492@main.

Tests: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SOAuthorizationTests.mm
Canonical link: https://commits.webkit.org/323710@main



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

Reply via email to