Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 49b805fc29c38315098fb21aa4668b77df140f83
      
https://github.com/WebKit/WebKit/commit/49b805fc29c38315098fb21aa4668b77df140f83
  Author: Anthony Tarbinian <[email protected]>
  Date:   2026-05-12 (Tue, 12 May 2026)

  Changed paths:
    M LayoutTests/platform/ios-site-isolation/TestExpectations
    M LayoutTests/platform/mac-site-isolation/TestExpectations
    M Source/WebKit/Sources.txt
    M Source/WebKit/UIProcess/RemotePageProxy.cpp
    M Source/WebKit/UIProcess/RemotePageProxy.h
    A Source/WebKit/UIProcess/RemotePageWebAuthenticatorCoordinatorProxy.cpp
    A Source/WebKit/UIProcess/RemotePageWebAuthenticatorCoordinatorProxy.h
    M 
Source/WebKit/UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.h
    M Source/WebKit/UIProcess/WebPageProxy.h
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  [Site Isolation] Route WebAuthenticatorCoordinatorProxy messages from 
cross-origin iframes
https://bugs.webkit.org/show_bug.cgi?id=314409
rdar://176561142

Reviewed by Pascoe.

Currently, with site isolation enabled, WebAuthn messages
which originate from cross-origin frames are dropped.

This is because the message receiver for WebAuthn messages
is only registered with the main frame's process.

This is causing tests such as 
http/wpt/webauthn/public-key-credential-cross-origin.https.html
to timeout with site isolation enabled.

This patch adds RemotePageWebAuthenticatorCoordinatorProxy
which forwards WebAuthn IPC messages from cross-origin
frames to the real coordinator in WebPageProxy.

This patch follows the convention from
https://commits.webkit.org/302333@main

This patch fixes http/wpt/webauthn/public-key-credential-cross-origin.https.html
with site isolation enabled.

* LayoutTests/platform/ios-site-isolation/TestExpectations:
* LayoutTests/platform/mac-site-isolation/TestExpectations:
* Source/WebKit/Sources.txt:
* Source/WebKit/UIProcess/RemotePageProxy.cpp:
(WebKit::RemotePageProxy::disconnect):
        remote WebAuthn proxy is cleared
(WebKit::RemotePageProxy::injectPageIntoNewProcess):
        remote WebAuthn proxy is created
* Source/WebKit/UIProcess/RemotePageProxy.h:
* Source/WebKit/UIProcess/RemotePageWebAuthenticatorCoordinatorProxy.cpp: Added.
(WebKit::RemotePageWebAuthenticatorCoordinatorProxy::create):
(WebKit::RemotePageWebAuthenticatorCoordinatorProxy::RemotePageWebAuthenticatorCoordinatorProxy):
(WebKit::RemotePageWebAuthenticatorCoordinatorProxy::~RemotePageWebAuthenticatorCoordinatorProxy):
(WebKit::RemotePageWebAuthenticatorCoordinatorProxy::didReceiveMessage):
* Source/WebKit/UIProcess/RemotePageWebAuthenticatorCoordinatorProxy.h: Added.
* Source/WebKit/UIProcess/WebAuthentication/WebAuthenticatorCoordinatorProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

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



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

Reply via email to