[webkit-changes] [WebKit/WebKit] 8e2637: Add SPI to get the SecTrustRef of a WKFrameRef
EWS
noreply at github.com
Mon Sep 26 14:36:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8e2637727a9658ca2d1ee21a3f797dca32a9a9a3
https://github.com/WebKit/WebKit/commit/8e2637727a9658ca2d1ee21a3f797dca32a9a9a3
Author: Alex Christensen <achristensen at 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
More information about the webkit-changes
mailing list