Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8e2637727a9658ca2d1ee21a3f797dca32a9a9a3
      
https://github.com/WebKit/WebKit/commit/8e2637727a9658ca2d1ee21a3f797dca32a9a9a3
  Author: Alex Christensen <achristen...@webkit.org>
  Date:   2022-09-26 (Mon, 26 Sep 2022)

  Changed paths:
    M Source/WebKit/SourcesCocoa.txt
    M Source/WebKit/UIProcess/API/C/WKCredential.cpp
    M Source/WebKit/UIProcess/API/C/WKCredential.h
    M Source/WebKit/UIProcess/API/C/WKFrame.cpp
    M Source/WebKit/UIProcess/API/C/WKFrame.h
    A Source/WebKit/UIProcess/API/C/mac/WKFrameMac.cpp
    A Source/WebKit/UIProcess/API/C/mac/WKFrameMac.h
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  Add SPI to get the SecTrustRef of a WKFrameRef
https://bugs.webkit.org/show_bug.cgi?id=245693
<rdar://100239553>

Reviewed by Tim Horton.

When I started to remove WKCertificateInfoRef, I regressed one legitimate use 
of getting the certificate chain from a Frame.
To fix that bug, continue to remove the unneeded WKCertificateInfoRef 
abstraction and expose WKFrameRef's SecTrustRef.

* Source/WebKit/SourcesCocoa.txt:
* Source/WebKit/UIProcess/API/C/WKCredential.cpp:
(WKCredentialCreateWithCertificateInfo):
* Source/WebKit/UIProcess/API/C/WKCredential.h:
* Source/WebKit/UIProcess/API/C/WKFrame.cpp:
(WKFrameGetCertificateInfo):
* Source/WebKit/UIProcess/API/C/WKFrame.h:
* Source/WebKit/UIProcess/API/C/mac/WKFrameMac.cpp: Copied from 
Source/WebKit/UIProcess/API/C/WKCredential.h.
(WKFrameGetServerTrust):
* Source/WebKit/UIProcess/API/C/mac/WKFrameMac.h: Copied from 
Source/WebKit/UIProcess/API/C/WKCredential.h.
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to