Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0988eec0c5a2100add99512ec7ebc3944242dc6d
      
https://github.com/WebKit/WebKit/commit/0988eec0c5a2100add99512ec7ebc3944242dc6d
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2026-08-27 (Thu, 27 Aug 2026)

  Changed paths:
    M Source/WebKit/UIProcess/ProvisionalPageProxy.cpp
    M Source/WebKit/UIProcess/ProvisionalPageProxy.h
    M Source/WebKit/UIProcess/WebFrameProxy.cpp
    M Source/WebKit/UIProcess/WebFrameProxy.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  REGRESSION(316854@main): Frame CertificateInfo is empty after process swap on 
navigation
https://bugs.webkit.org/show_bug.cgi?id=321395

Reviewed by Alex Christensen.

When continuing a load on new process after a process swap on navigation
response, the provisional certificate used for the new frame proxy is
copied from the previous committed load, but the new certificate was
actually received from the network process in the previous provisional frame.
If there's a previous provisional frame having a provisional certificate
received from the network process it should be used, falling back to the
previous commited frame otherwise. This patch handles both cases from
continueNavigationInNewProcess(), passing the certitifate info to the
new ProvisionalPageProxy construtor.

* Source/WebKit/UIProcess/ProvisionalPageProxy.cpp:
(WebKit::ProvisionalPageProxy::ProvisionalPageProxy):
* Source/WebKit/UIProcess/ProvisionalPageProxy.h:
* Source/WebKit/UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::provisionalCertificateInfoFromNetworkProcess const):
(WebKit::WebFrameProxy::commitCertificateInfo):
(WebKit::WebFrameProxy::setCertificateInfoForProcessSwapOnNavigationResponse):
(WebKit::WebFrameProxy::certificateInfoFromNetworkProcess const): Deleted.
(WebKit::WebFrameProxy::copyCertificateInfoForProcessSwapOnNavigationResponse): 
Deleted.
* Source/WebKit/UIProcess/WebFrameProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::continueNavigationInNewProcess):

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



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

Reply via email to